Не подскажете, в каком формате стоит добавлять свои внутренние ссылки в шаблоны с точки зрения безопасности?
Скажем, безопасна ли запись вроде
или подобные ссылки лучше задавать через переменные?<a href="/viewtopic.php?t=1">{L_RANDOM}</a>
Вот цитата из гайдлайна, но я не совсем уверена, относится ли это ко всем внутренним ссылкам или только к тем, что задаются через php.Url formatting
All urls pointing to internal files need to be prepended by the $phpbb_root_path variable. Within the administration control panel all urls pointing to internal files need to be prepended by the $phpbb_admin_path variable. This makes sure the path is always correct and users being able to just rename the admin folder and the acp still working as intended (though some links will fail and the code need to be slightly adjusted).