From 08ffd3b12c7e33404d40dc0d3f5deaddcd8519f6 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 14 Jan 2015 16:46:32 +0100 Subject: [PATCH] explain template tags --- developer_manual/app/tutorial.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/developer_manual/app/tutorial.rst b/developer_manual/app/tutorial.rst index 0a8596e0e..ddbdf7b11 100644 --- a/developer_manual/app/tutorial.rst +++ b/developer_manual/app/tutorial.rst @@ -721,6 +721,8 @@ Creating a navigation ===================== The template file **ownnotes/templates/part.navigation.php** contains the navigation. ownCloud defines many handy :doc:`CSS styles ` which we are going to reuse to style the navigation. Adjust the file to contain only the following code: +.. note:: **$l->t()** is used to make your strings :doc:`translatable ` and **p()** is used :doc:`to print escaped HTML ` + .. code-block:: php