How to make phpbb style
make phpbb style, because the process has a lot of conditions, so it is divided into several sections to explain the meaning of
first to analyze TPL style files. T is explained as Temporary or Templates, P solution is released to Program or... Br / > the focus is that phpbb treats TPL as a partial HTM and a special type of inlay eucalyptus, which is as
as include in ASP or PHP, and therefore does not need every TPL to have a complete.Lt; htm.gt;.Lt; nor;
illustration below to explain what is the include concept
example color box shows the scope of the insertion of Eucalyptus, overall_header.tpl is the starting point of HTM, meta and body and CSS and so on, including the overall background and the most peripheral framework,
overall_footer.tpl is only just, the end and the end, and It contains version declaration.
viewtopic_body.tpl in the middle also installed viewtopic_poll_result.tpl and jumpbox.tpl functions. This is the most typical dynamic data webpage module.
this is different from the usual static HTM gear eucalyptus, a simple example, such as a directory menu, a traditional static web page no matter how many pages, and if the directory structure updates the move, every HTM gear is to be changed, the dynamic web page no matter hundreds of pages, as long as the directory of a file of Eucalyptus can be changed, such as overall_header The directory in.Tpl, phpbb each picture basically automatically includes the introduction of this eucalyptus, so a file of Eucalyptus tube is shared by all pages.
for another example, phpbb does not require every page to have - [go] to select the drop-down selection table of the layout - and then write a jumpbox.tpl independently, and insert it when the required page is to have this function.
maybe a lot of ASP or PHP designers will wonder, since include can decompose the things done, why do we need to decompose the TPL heavy industry?
this is a fascinating place for phpbb because it has the open style of design and development. If you pick up PHP to include style and main program engine at the beginning, that style will always have only one kind of Luo, so they use PHP syntax as a forum engine, and TPL is packaged into a other style version.
again to understand the uses of each TPL file Eucalyptus:
agreement.tpl -- the registered consent declaration
--
- - -- - -- --
bbcode.tpl --
bbcode.tpl -- BBcode code conversion browsing pages - -- - -- - - --
confirm_body.tpl - - the system message confirmation page / / / / / / > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - --
error_body.tpl Error message page
- -- - -- - -- - -- - -- - -- - - --
faq_body.tpl - - common problems
groupcp_info_body.tpl--- membership group Information page
-- - -- - -- - -- - -- - -- - -- - -- - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Y.tpl--- member group members' list
- - -- - -- - -- - -- - -- - - --
index_body.tpl - - home page / / only the front page of the front page of the front page and who is on the online simple checklist
- -- - -- - -- - --- - ---- - -- - --- - - ---
jumpbox.tpl - - to choose the drop-down form of the layout of
- - - -- - -- - ---
login_body.tpl - - - - - - - - - - - - - - - - - - --- - - --- - - ---- - - --- - ---- - --- - ---- - ---- - ---- - ---- - ---- - ---- - ---- - --- - ---- - - ---- - - --- - ---- - - --- - - ---- - - --- - - --- - - --- - - --- - - --- - - ---- - - ---- - - ---- - - ---- - - ---- - - ---- - - ---- - - ---- - - --- - - ---- - - --- - --- - --- - --- - --- - ---- - - ---- - > - --- - - ---- - - -- - - --
memberlist_body.tpl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / / / / / / / / / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - to - - - - --
modcp_body.tpl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modcp_move.tpl layout management, mobile theme console mobile theme console, mobile
- - to - - -- - -- - - --
modcp_split.tpl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Surface management, inspection of articles published by the IP
- to - - -- - -- - -- - - ---
overall_footer.tpl - the bottom of the whole page / / / / / containing HTM, head and body - -- - --
overall_header.tpl - the top of the whole page / / / contains the complete starting elements of HTM, meta and body and CSS and so on
- to - - -- - ---
posting_body.tpl -- a page / / / inclusion reply to
- to - - to - - --- - -- - -- - -- - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - the voting options under the text area
- -- - -- - -- - -- - - ---
posting_previ The preview area above the pastoral area is
- - --- - --- - --- - -- - --- - - ---
posting_smilies.tpl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ew.tpl / > - - - - - - - - - - - - - - - - - -
posting_topic_review.tpl-- replies the text below the text inspection area / / / iframe's way
- - -- - --- - -- - -- --
privmsgs_body.tpl - -- the home page of the private message
- -- - --- - --- - ---- - ---- - -- - - --
privmsgs_popup.tpl - - private message bouncing small windows
- - - -- - -- - -- - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - the private message area above the preview area
privmsgs_read_body.tpl - - - - - - - - - - - to read the private message page
- - -- - -- - --- - - ---
profile_add_body.tpl - - - - - - - - - - - - - - registration and member of members and members - members registration and membership Edit the personal data page
- -- - -- - -- - -- - -- - -- - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - the system head of the personal data of the selection page
- -- - -- - -- - -- - -- - -- - -- - --- - - ---- - -- - --
profile_send_email.tpl - (enabled) a member's mail message window / / / / / only a text input
- - -- - -- - -- - - ---
profile_send_pass.tpl - - - - - - - - - - - - - - - - - - - - - - - - -- - -- - --- - --- - --- - --- - --- - --- - --- - --- - --- - --- - ---- - > - -- - --- - > - > - -- - --- - > - > - > - -- - --- - > - > - > - --- - --- - - ---- > - > - --- - --- - > - > - > - --- - --- - - --- - > - > - > - - --- when secret code page
- --- - - ---- - -- - to - - - - - - - - - - - - - - - - - - - the personal data page of the members
- - -- - -- - - ---
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Page
- -- - -- - -- - -- - -- - -- - -- - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - the search results are arranged in the
- to - -- - -- - -- - - ---
search_result The search results are arranged in a theme of
- - to - -- to - - --- - --- - - ---
search_username.tpl - - -- to search for the recipient's small jump window
- to - - to - -- - --- - -- - ---
simple_footer.tpl - - the bottom of any bouncing small windows / / / / containing HTM, head and body's end
- - -- - ---
simple_header.tpl - --
simple_header.tpl - any bouncing small windows Top / / / containing HTM, meta and body And the complete starting elements of CSS and so on,
- - -- - --- - -- - --- - --
viewforum_body.tpl - - - - - - - - - - - - - - -- - -- - -- - -- - -- - -- - -- - -- - -- - - -- - -- - -- -
viewonline_bo Who looks at the list of people on the line / / / / / is not the front page who is on the line,
- - -- - ---
viewtopic_body.tpl - --
viewtopic_body.tpl - - - - - -- - -- - -- - -- - --- - ---- - ---- - -- - - --
viewtopic_poll_ballot.tpl - - Inspection of the top of the article (visitors) the list of non voting lists
- - - - -- - -- - -- - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a view above the article above the inspection article above (browsers) already) already The percentage of votes is