templating

来自「本文件为Web-FTP的实现源代码 是cgi编程 使用perl为主 本软件适用于」· 代码 · 共 25 行

TXT
25
字号
Web-FTP supports a basic templating (and actually has for a while)It bascially only lets you change the login screen and the topand bottom frames of the main page, but that is something. When possible, it would be nice to keep some of the credits in somewhere,but I won't require it.to you templates you need a subdirectory called 'templates' in the same directory your web-ftp.conf file is. There are four filesthat can be created, though you don't have to change them all if youdo not want to.loginheader	This file is the top half of the login page, everything above the   username and password entry. It can include html headers or not, web-ftp   will check for them and supply them if necessaryloginfooter	This file is the other half of the login page, below the formheader	This is the top frame of the main page. It should be a complete   web page with HMTL and BODY tags, since it is in a frame.footer	This is the bottom frame, same deal as the header

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?