diff options
Diffstat (limited to 'staticweb')
-rw-r--r-- | staticweb/banner.html | 10 | ||||
-rw-r--r-- | staticweb/dir.html | 16 | ||||
-rw-r--r-- | staticweb/index.html | 15 | ||||
-rw-r--r-- | staticweb/search.html | 8 |
4 files changed, 18 insertions, 31 deletions
diff --git a/staticweb/banner.html b/staticweb/banner.html new file mode 100644 index 00000000..4a8d0678 --- /dev/null +++ b/staticweb/banner.html @@ -0,0 +1,10 @@ +<div id="banner"> + <h1><a href="http://blog.ptt.cc/blog.pl/ptt/" + accesskey="1">[% IF gb %]������ʵҵ��[% ELSE %]�����~�{[% END %]</a></h1> + +<div style="position:absolute; right: 15%;"> +<a href="./">[% IF gb %]��������[% ELSE %]�c�餤��[% END %](big5)</a> +<a href="./?gb=1">[% IF gb %]��������[% ELSE %]²�餤��[% END %](gb2312)</a> +</div> + +</div> diff --git a/staticweb/dir.html b/staticweb/dir.html index a533481b..c3ce33ac 100644 --- a/staticweb/dir.html +++ b/staticweb/dir.html @@ -1,17 +1,7 @@ [% INCLUDE header.html %] <table width="75%" align="center"> -<tr> -<td> -<div id="banner"> - <h1><a href="http://blog.ptt.cc/blog.pl/ptt/" - accesskey="1">[% IF gb %]������ʵҵ��[% ELSE %]�����~�{[% END %]</a></h1> - -<div style="position:absolute; right: 15%;"> -<a href="./">[% IF gb %]��������[% ELSE %]�c�餤��[% END %](big5)</a> -<a href="./?gb=1">[% IF gb %]��������[% ELSE %]²�餤��[% END %](gb2312)</a> -</div> - -</div> +<tr><td> +[% INCLUDE banner.html %] </td></tr> <tr><td> @@ -35,12 +25,14 @@ [% END %] </td></tr> <tr><td> +[% IF !gb %] <hr /> <form method="POST" action="/man.pl/[% brdname %]/"> [% IF gb %]������������ڷ�Ū[% ELSE %]�b�o�Ӻ�ذϤ�½��[% END %] <input type="text" name="key"> <input type="submit" value="[% IF gb %]��[% ELSE %]��[% END %]"> </form> +[% END %] <hr /> <a href="telnet://ptt.cc">[% IF gb %]������ʵҵ��[% ELSE %]�����~�{[% END %]</a> (<a href="http://ptt.cc">PttWeb</a>) </td></tr> diff --git a/staticweb/index.html b/staticweb/index.html index 2484bd5a..3a62ed51 100644 --- a/staticweb/index.html +++ b/staticweb/index.html @@ -1,20 +1,9 @@ [% INCLUDE header.html %] <table width="75%" align="center"> -<tr> -<td> -<div id="banner"> - <h1><a href="http://blog.ptt.cc/blog.pl/ptt/" - accesskey="1">[% IF gb %]������ʵҵ��[% ELSE %]�����~�{[% END %]</a></h1> - -<div style="position:absolute; right: 15%;"> -<a href="./">[% IF gb %]��������[% ELSE %]�c�餤��[% END %](big5)</a> -<a href="./?gb=1">[% IF gb %]��������[% ELSE %]²�餤��[% END %](gb2312)</a> -</div> - -</div> +<tr><td> +[% INCLUDE banner.html %] </td></tr> - <tr><td> [% IF gb %]������ʵҵ��֮������[% ELSE %]�����~�{����ذ�[% END %](experimental)<br /> [% IF gb %]Ŀǰ�ṩ���о���������[% ELSE %]�ثe���ѤU�C��ذϸ��[% END %]:<br /> diff --git a/staticweb/search.html b/staticweb/search.html index 612300e4..4688617d 100644 --- a/staticweb/search.html +++ b/staticweb/search.html @@ -1,11 +1,7 @@ [% INCLUDE header.html %] <table width="75%" align="center"> -<tr> -<td> -<div id="banner"> - <h1><a href="http://blog.ptt.cc/blog.pl/ptt/" - accesskey="1">�����~�{</a></h1> -</div> +<tr><td> +[% INCLUDE banner.html %] </td></tr> <tr><td> |