What is covered:
* Appel THEME->get_url() becomes THEME->get_image_url()
* Dans les templates, theme_url becomes theme_image_url
What is not covered :
* Create method call get_image_url in javascript
* Allow to use SVG in thumbnails (thumbs.php Files)
* Create a method to relative links (used $ smarty-> assign ('maharalogofilename', 'images / Site-logo-small .png')).
* Fix for atom.php files and viewlayout.php to get_config size ('wwwroot'). 'Theme / raw / static / images / logo.png Site';
* Manage License images svg (license.php)
* Manage themepaths () function in lib / web.php
Also, I have not implemented cache because it seemed too expensive.
A general cache solution like memcached seems a better solution.
However, this should not add significant load because the use of the svg file is disabled bu default.
Only theme using will check for this format.
To test, make sure all the lines of code have been replaced.
Otherwise, run the following load test:
phpunit ThemeTest htdocs/lib/tests/phpunit/ThemeTest.php
Finnally, the documentation may be updated once this task is accepted.
Here's the patch for this improvment.
What is covered: get_image_ url()
* Appel THEME->get_url() becomes THEME->
* Dans les templates, theme_url becomes theme_image_url
What is not covered :
* Create method call get_image_url in javascript ename', 'images / Site-logo-small .png')).
* Allow to use SVG in thumbnails (thumbs.php Files)
* Create a method to relative links (used $ smarty-> assign ('maharalogofil
* Fix for atom.php files and viewlayout.php to get_config size ('wwwroot'). 'Theme / raw / static / images / logo.png Site';
* Manage License images svg (license.php)
* Manage themepaths () function in lib / web.php
Also, I have not implemented cache because it seemed too expensive.
A general cache solution like memcached seems a better solution.
However, this should not add significant load because the use of the svg file is disabled bu default.
Only theme using will check for this format.
To test, make sure all the lines of code have been replaced. lib/tests/ phpunit/ ThemeTest. php
Otherwise, run the following load test:
phpunit ThemeTest htdocs/
Finnally, the documentation may be updated once this task is accepted.
To be peer-reviewed.