PhpBB - PHP 文件在哪里显示overall_footer.html?
PhpBB - PHP 文件在哪里显示overall_footer.html?
我检查了很多php文件,但仍然找不到它。
非常感谢
PhpBB - Where Is The PHP File To Display overall_footer.html?
I have checked lots of php file, but still can't find it.
Many Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你的问题不清楚。如果您正在查找从何处调用overall_footer.html,它会包含在其他模板文件中,而不是直接调用。
每当您查看页面时,它都会显示一个模板文件。对于论坛索引,其index_body.html 对于主题列表其viewforum_body.html,对于主题其viewtopic_body.html 等等。每个文件都以这一行开头:
并以这一行结束:
这就是包含overall_footer.html 的位置。
如果您正在寻找已编译的overall_footer.html(它的php版本)的位置,它位于目录缓存中,prosilver版本的文件名是tpl_prosilver_overall_footer.html.php。您永远不应该编辑该文件,如果您想添加某些内容,请编辑overall_footer.html 模板。
Your question isn't clear. If you are looking for where overall_footer.html is called from, it is included from other template files, not called directly.
Whenever you view a page, it shows one template file. For forum index its index_body.html for topics list its viewforum_body.html, for topic its viewtopic_body.html and so on. Each of those files starts with this line:
and ends with this line:
That's where overall_footer.html is included from.
If you were looking for location of compiled overall_footer.html (php version of it), its located in directory cache and file name for prosilver's version is tpl_prosilver_overall_footer.html.php. You should never edit that file, if you want to add something, edit overall_footer.html template instead.
文件“overall_footer.html”不会直接从任何 PHP 文件调用。相反,它包含在其他模板文件中,由各种 PHP 文件调用。以下是包含此文件的所有模板的列表:
The file "overall_footer.html" is not called from any PHP file directly. Instead it is included inside of other template files, which are called by various PHP files. Here is a list of all templates that include this file: