1 頁 (共 1 頁)

[問題]phpbb是用那一樣板程式

發表於 : 2004-05-06 14:04
sky0610
~如題~
我找了幾個樣板如smarty,TemplatePower好像都不是\r
還是phpbb開發者自己寫的

發表於 : 2004-05-06 14:29
小竹子
風格可由使用者自行開發

發表於 : 2004-05-06 15:13
sky0610
sorry....小竹子我不是詢問風格設計
我是問phpbb如何才能做到php和html分離的程式
\n在網路上搜尋到有smarty,TemplatePower的樣板程式
像XOOPS就是用smarty樣板程式

發表於 : 2004-05-06 17:21
依夢兒
不太懂你的意思....

如果你是要問樣板, phpBB 的樣板也就是 .tpl 可以使用 Dreamweaver 這樣的網頁編輯程式來設計修改。

發表於 : 2004-05-06 18:06
小竹子
他要問的應該是風格基礎架構,例如 PHPBB 的基礎架構是 PHP,應該是這個意思吧!

發表於 : 2004-05-06 23:14
sky0610
:-o 真是太抱歉了
應該是我問法不對
我知道樣板的檔案是.tpl
也就是html 寫的
不太懂你的意思....

如果你是要問樣板, phpBB 的樣板也就是 .tpl 可以使用 Dreamweaver 這樣的網頁編輯程式來設計修改。
我想問的是連結.php和.tpl的樣板引擎是什麼名稱\r
也是.php的檔案
應該在index.php內有宣告過的
但我看不懂^_^
因我現在除了學架phpbb外
也在學php
我相關的php的網站看到smarty這個樣板引擎
突然覺得phpbb的架構也是相同的
故想學一下.....
;-) 但不知道名稱是什麼無法著手
貼一下smarty的連結可能各位比較能了解我的意思
http://www.php5.idv.tw/documents/smarty ... 040209.htm
在此感謝小竹子和依夢兒諸位熱心幫忙

發表於 : 2004-05-09 23:43
messagebox
開啟./includes/template.php
看看檔頭就知道了~~~

代碼: 選擇全部

/***************************************************************************
 *                              template.php
 *                            -------------------
 *   begin                : Saturday, Feb 13, 2001
 *   copyright            : (C) 2001 The phpBB Group
 *   email                : support@phpbb.com
 *
 *   $Id: template.php,v 1.10.2.3 2002/12/21 19:09:57 psotfx Exp $
 *
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

/**
 * Template class. By Nathan Codding of the phpBB group.
 * The interface was originally inspired by PHPLib templates,
 * and the template file formats are quite similar.
 *
 */
這是PHPBB團隊自己寫的~~~
而非利用現有的樣板程式~~~

發表於 : 2004-05-11 14:15
sky0610
原來是這樣\r
多謝messagebox解惑
我看我還是先學starty吧