PhpBB — Где находится файл PHP для отображения total_footer.html?
Я проверил много файлов php, но все еще не могу его найти.
Огромное спасибо
PhpBB — Где находится файл PHP для отображения total_footer.html?
Я проверил много файлов php, но все еще не могу его найти.
Огромное спасибо
Ваш вопрос не ясен. Если вы ищете, откуда вызывается global_footer.html, он включается из других файлов шаблонов, а не вызывается напрямую.
Всякий раз, когда вы просматриваете страницу, она показывает один файл шаблона. Для индекса форума это index_body.html, для тем — список viewforum_body.html, для темы — viewtopic_body.html и так далее. Каждый из этих файлов начинается с этой строки:
<!-- INCLUDE overall_header.html -->
и заканчивается этой строкой:
<!-- INCLUDE overall_footer.html -->
Отсюда и включается файл total_footer.html.
Если вы искали расположение скомпилированного total_footer.html (его php-версия), он находится в кеше каталога, а имя файла для версии prosilver — tpl_prosilver_overall_footer.html.php. Вы никогда не должны редактировать этот файл, если вы хотите что-то добавить, вместо этого отредактируйте шаблон total_footer.html.
Файл "overall_footer.html" не вызывается напрямую из какого-либо PHP-файла. Вместо этого он включается в другие файлы шаблонов, которые вызываются различными файлами PHP. Вот список всех шаблонов, которые включают этот файл:
<pre>
\adm\style\acp_attachments.html (1 hits)
Line 376: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_ban.html (1 hits)
Line 124: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_bbcodes.html (1 hits)
Line 124: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_board.html (1 hits)
Line 49: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_bots.html (1 hits)
Line 102: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_captcha.html (1 hits)
Line 71: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_database.html (1 hits)
Line 98: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_disallow.html (1 hits)
Line 45: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_email.html (1 hits)
Line 58: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_forums.html (1 hits)
Line 505: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_forums_copy_perm.html (1 hits)
Line 22: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_groups.html (1 hits)
Line 358: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_icons.html (1 hits)
Line 268: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_inactive.html (1 hits)
Line 77: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_jabber.html (1 hits)
Line 65: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_language.html (1 hits)
Line 255: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_logs.html (1 hits)
Line 93: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_main.html (1 hits)
Line 255: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_modules.html (1 hits)
Line 212: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_permissions.html (1 hits)
Line 357: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_permission_roles.html (1 hits)
Line 202: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_php_info.html (1 hits)
Line 13: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_profile.html (1 hits)
Line 236: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_prune_forums.html (1 hits)
Line 108: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_prune_users.html (1 hits)
Line 59: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_ranks.html (1 hits)
Line 98: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_reasons.html (1 hits)
Line 127: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_search.html (1 hits)
Line 157: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_send_statistics.html (1 hits)
Line 71: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_styles.html (1 hits)
Line 536: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_update.html (1 hits)
Line 52: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_users.html (1 hits)
Line 234: <!-- INCLUDE overall_footer.html -->
\adm\style\acp_words.html (1 hits)
Line 77: <!-- INCLUDE overall_footer.html -->
\adm\style\captcha_gd_acp.html (1 hits)
Line 74: <!-- INCLUDE overall_footer.html -->
\adm\style\captcha_qa_acp.html (1 hits)
Line 92: <!-- INCLUDE overall_footer.html -->
\adm\style\captcha_recaptcha_acp.html (1 hits)
Line 50: <!-- INCLUDE overall_footer.html -->
\adm\style\confirm_bbcode.html (1 hits)
Line 22: <!-- INCLUDE overall_footer.html -->
\adm\style\confirm_body.html (1 hits)
Line 20: <!-- INCLUDE overall_footer.html -->
\adm\style\confirm_body_prune.html (1 hits)
Line 30: <!-- INCLUDE overall_footer.html -->
\adm\style\message_body.html (1 hits)
Line 8: <!-- INCLUDE overall_footer.html -->
\adm\style\permission_forum_copy.html (1 hits)
Line 40: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\confirm_body.html (1 hits)
Line 20: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\faq_body.html (1 hits)
Line 52: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\index_body.html (1 hits)
Line 48: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\login_body.html (1 hits)
Line 70: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\login_forum.html (1 hits)
Line 36: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\mcp_approve.html (1 hits)
Line 53: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\mcp_footer.html (1 hits)
Line 9: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\mcp_move.html (1 hits)
Line 36: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\memberlist_body.html (1 hits)
Line 183: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\memberlist_email.html (1 hits)
Line 65: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\memberlist_leaders.html (1 hits)
Line 76: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\memberlist_view.html (1 hits)
Line 116: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\message_body.html (1 hits)
Line 11: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\posting_layout.html (1 hits)
Line 90: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\report_body.html (1 hits)
Line 51: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\search_body.html (1 hits)
Line 128: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\search_results.html (1 hits)
Line 160: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\ucp_agreement.html (1 hits)
Line 73: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\ucp_footer.html (1 hits)
Line 15: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\ucp_register.html (1 hits)
Line 113: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\ucp_remind.html (1 hits)
Line 32: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\ucp_resend.html (1 hits)
Line 32: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\viewforum_body.html (1 hits)
Line 219: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\viewonline_body.html (1 hits)
Line 57: <!-- INCLUDE overall_footer.html -->
\styles\prosilver\template\viewtopic_body.html (1 hits)
Line 274: <!-- INCLUDE overall_footer.html -->
</pre>