Update templates.rst

This commit is contained in:
Bernhard Posselt
2015-01-20 14:48:53 +01:00
parent 339928f325
commit cbad43abfa

View File

@@ -64,5 +64,5 @@ To generate links to images use the **imagePath** function:
.. code-block:: php
<img src="<?php\OCP\Util::imagePath('myapp', 'app.png'); // img/app.png?> />
<img src="<?php print_unescaped(image_path('myapp', 'app.png')); // img/app.png?> />