mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
fixed note wording
This commit is contained in:
@@ -4,7 +4,7 @@ Templates
|
||||
ownCloud uses its own templating system. The templating system basically works by defining main template files. Those template files then include their own templates.
|
||||
|
||||
.. note::
|
||||
Templates must not contain database queries! All data should be passed to the template as a variable.
|
||||
Templates must not contain database queries! All data should be passed to the template via $template->assign($key, $value).
|
||||
|
||||
It's actually pretty simple. For instance take a look at this example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user