From c4ff1016b9c62ebf16a902f4265e1df0ef512b62 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 29 Oct 2012 18:24:33 +0100 Subject: [PATCH] fixed note wording --- developer_manual/templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/templates.rst b/developer_manual/templates.rst index 00d5139b9..298f8a76b 100644 --- a/developer_manual/templates.rst +++ b/developer_manual/templates.rst @@ -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: