rejetto forum

Software => Other languages => HFS ~ HTTP File Server => 中文 - Chinese => Topic started by: zhenhai on May 17, 2009, 02:58:28 AM

Title: Add a simple DNS service for intranet
Post by: zhenhai on May 17, 2009, 02:58:28 AM
[mydns]
{{if|{{?name}}|{{\
{{append|weburl.txt|  <a target='bank' href="{{?weburl}}" title="{{?memo}}">{{?name}}</a>./append}}/}}/if}}
<form name=frm>
<p>本模块功能相当于为内部网络系统提供了一个简易的DNS地址解析服务/this module is A simple DNS service
<p>请输入你要推荐的网站(或自己的)链接地址/Input your web link
<p>内网最好是IP防止域名解析失败,网站说明要简洁明了,不夸大其词。
<p>如果允许https方式访问请在备注中说明
<p>网站名称/web name:<input name=name size=40 value="">
<p>网站链接/web link:<input name=weburl size=60 value="http://">
<p>该网站的简单说明和备注/memo:
<p><TEXTAREA name=memo ROWS="6" COLS="40"></TEXTAREA>
<p><input type=submit value="添加网站链接/Add a web link" >
</form>
<script>document.frm.name.focus();</script>
<br>{{load|weburl.txt}}
Title: Re: Add a simple DNS service for intranet
Post by: Mars on May 17, 2009, 09:25:11 AM
This is an old syntax of the templates the syntax of which is not any more born by the build last one

You should edit directly your weburl.txt file, it would be faster than to pass by a html form. ;)
Title: Re: Add a simple DNS service for intranet
Post by: rejetto on May 17, 2009, 05:04:37 PM
replace {{ and }}
with {. and .}

replace {{\ and /}}
with {: and :}