作者: Fubonis < php@fubonis.com > (JW Frazier) http://www.fubonis.com
模組二次更改作者: wGEric < eric@egcnetwork.com > (Eric) http://eric.best-1.biz
模組介紹: 讓管理者可以在後台直接修改 template
Version: Beta 1.1.0
程式來源:eric.best-1.biz
需要下載的檔案:Template_edit110.zip (4.04KB)
一個很容易安裝的模組
安裝以後可以直接在管理控制台\r
選擇你要修正的Template檔案修正
直接在後台修正後不需要再用FTP上傳\r
很好用唷
![哈 哈 哈 :lol:](./images/smilies/icon_lol.gif)
代碼: 選擇全部
##############################################################
## MOD Title: Template Edit
## MOD Author: Fubonis < php@fubonis.com > (JW Frazier) http://www.fubonis.com
## MOD Author, Secondary: wGEric < eric@egcnetwork.com > (Eric) http://eric.best-1.biz
## MOD Description: Let's admins edit files in the template directory
## MOD Version: Beta 1.1.0
##
## Installation Level: (Easy)
## Installation Time: 5 Minutes
## Files To Edit: langugage/lang_english/lang_admin.php
## Included Files: - admin/admin_template.php,
## - templates/subSilver/admin/admin_template_edit.tpl,
## - templates/subSilver/admin/admin_template_select.tpl
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## You will need to CHMOD the admin and all of the directories in your template folder
## to either 666 or 777. You will also need to CHMOD all of the files and directories inside
## your themes folder. This MOD will not work if you don't do this.
##
##############################################################
## MOD History:
##
## 2003-08-19 - Beta 1.1.0
## - Shows all files inside of the theme's directory that you choose.
## Even inside directories inside your theme
## - Fixed it so extra spaces weren't added
## - Changed template files a little bit
##
## ????-??-1?? - Version Alpha 1.0.0
## - First Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ 拷貝到相同的位置 ]---------------------------------
#
拷貝admin_template.php to admin/admin_template.php
拷貝 admin_template_edit.tpl to templates/subSilver/admin/admin_template_edit.tpl
拷貝 admin_template_select.tpl to templates/subSilver/admin/admin_template_select.tpl
代碼: 選擇全部
#
#-----[ 開啟 ]---------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ 尋找 ]---------------------------------
#
//
// That's all Folks!
#
#-----[ 在前面增加 ]--------------------------------
#
// Template Edit Mod
$lang['Edit_Templates'] = '面板編輯'; //add by rita
$lang['Template_Edit_Choose'] = '選擇頁面';
$lang['Template_Edit_No_Template'] = '你選擇的頁面是無效的.';
$lang['Template_Edit_No_File'] = '你選擇的檔案是無效的.';
$lang['Template_Edit'] = '編輯頁面';
$lang['Template_Edit_No_Open'] = '無法開啟檔案.';
$lang['Template_Edit_No_Write'] = '檔案無法寫入資料.';
$lang['Template_Edit_Yes_Write'] = '檔案已經成功的寫入了.';
$lang['Click_return_template_edit'] = '點選 %s這裡%s t返回編輯頁面管理';
#
#-----[ 存檔/上傳檔案 ]------------------------------------------
#
# EoM
記得要把所有.tpl的chome改成666或是777
才有辦法存檔
很容易吧...安裝完畢囉^^~~祝你用的愉快