mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
explain template tags
This commit is contained in:
@@ -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 <css>` 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 <l10n>` and **p()** is used :doc:`to print escaped HTML <templates>`
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
<!-- translation strings -->
|
||||
|
||||
Reference in New Issue
Block a user