Skip to content

Commit 369e3e8

Browse files
committed
Formatting and html5
1 parent 8a6a43b commit 369e3e8

21 files changed

+142
-80
lines changed

seventowers/404.shtml

+31-24
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,43 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3-
<html>
4-
<head profile="http://www.w3.org/2005/10/profile">
5-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8" />
66
<title>Seven Towers: Document Not Fount</title>
77
<link href="default.css" rel="stylesheet" type="text/css" />
8-
<link rel="icon" type="image/png" href="images/home.png"/>
8+
<link rel="icon" type="image/png" href="images/home.png" />
99
<!-- There is another CSS linked to for MSIE -->
1010
<!-- empty! -->
1111
</head>
1212

1313
<body>
14-
<h1><a class="target" id="top"></a><img width="430" height="55" alt="Seven Towers: Document Not Fount" src="images/title.png"/></h1>
15-
<ul class="navbar">
16-
<li><a href="index.php"><img width="48" height="48" alt="Home" src="images/home.png"/>&nbsp;&nbsp;Home</a></li>
17-
<li><a href="downloads.php?section=0"><img width="48" height="48" alt="Exult Mods" src="images/exult.png"/>&nbsp;&nbsp;Exult Mods</a></li>
18-
<li><a href="downloads.php?section=1"><img width="48" height="48" alt="Usecode C" src="images/usecode.png"/>&nbsp;&nbsp;Usecode C</a></li>
19-
<li><a href="downloads.php?section=2"><img width="48" height="48" alt="Ultima Icons" src="images/icons.png"/>&nbsp;&nbsp;Ultima Icons</a></li>
20-
<li><a href="links.php"><img width="48" height="48" alt="Links" src="images/links.png"/>&nbsp;&nbsp;Links</a></li>
21-
<li><a href="news.php"><img width="48" height="48" alt="News" src="images/news.png"/>&nbsp;&nbsp;News</a></li>
22-
<li><a href="email.php"><img width="48" height="48" alt="E-Mail" src="images/mail.png"/>&nbsp;&nbsp;E-Mail</a></li>
14+
<h1><a class="target" id="top"></a><img width="430" height="55" alt="Seven Towers: Document Not Fount"
15+
src="images/title.png" /></h1>
16+
<ul class="navbar">
17+
<li><a href="index.php"><img width="48" height="48" alt="Home" src="images/home.png" />&nbsp;&nbsp;Home</a></li>
18+
<li><a href="downloads.php?section=0"><img width="48" height="48" alt="Exult Mods"
19+
src="images/exult.png" />&nbsp;&nbsp;Exult Mods</a></li>
20+
<li><a href="downloads.php?section=1"><img width="48" height="48" alt="Usecode C"
21+
src="images/usecode.png" />&nbsp;&nbsp;Usecode C</a></li>
22+
<li><a href="downloads.php?section=2"><img width="48" height="48" alt="Ultima Icons"
23+
src="images/icons.png" />&nbsp;&nbsp;Ultima Icons</a></li>
24+
<li><a href="links.php"><img width="48" height="48" alt="Links" src="images/links.png" />&nbsp;&nbsp;Links</a>
25+
</li>
26+
<li><a href="news.php"><img width="48" height="48" alt="News" src="images/news.png" />&nbsp;&nbsp;News</a></li>
27+
<li><a href="email.php"><img width="48" height="48" alt="E-Mail" src="images/mail.png" />&nbsp;&nbsp;E-Mail</a>
28+
</li>
2329

24-
</ul>
30+
</ul>
2531

26-
<!-- empty! -->
27-
<h3>Document Not Found</h3>
28-
<p>The document you requested was not found on the server.</p>
29-
<p>If you followed a link from within the website, please contact
30-
the webmaster using the e-mail form to notify the error.</p>
31-
<p>If you followed a link from an external website, please contact
32-
that site's webmaster to notify the error.</p>
32+
<!-- empty! -->
33+
<h3>Document Not Found</h3>
34+
<p>The document you requested was not found on the server.</p>
35+
<p>If you followed a link from within the website, please contact
36+
the webmaster using the e-mail form to notify the error.</p>
37+
<p>If you followed a link from an external website, please contact
38+
that site's webmaster to notify the error.</p>
3339

3440

3541
</body>
36-
</html>
42+
43+
</html>

seventowers/templates/anytext.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{TEXT}
1+
{TEXT}

seventowers/templates/box.tpl

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<ul class="box">
2-
<!-- BEGIN DYNAMIC BLOCK: boxes -->
3-
<li><p class="boxtitle">{BOXTITLE}</p>
2+
<!-- BEGIN DYNAMIC BLOCK: boxes -->
3+
<li>
4+
<p class="boxtitle">
5+
{BOXTITLE}
6+
</p>
47
{BOX_TEXT}
58
</li>
6-
<!-- END DYNAMIC BLOCK: boxes -->
7-
</ul>
9+
<!-- END DYNAMIC BLOCK: boxes -->
10+
</ul>

seventowers/templates/box_item.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<p class="box">{BOX_LINE_TEXT}</p>
1+
<p class="box">
2+
{BOX_LINE_TEXT}
3+
</p>

seventowers/templates/currpage.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<span class="{NAV_CLASS}">{NAV_ICON}&nbsp;&nbsp;{NAV_TITLE}</span>
1+
<span class="{NAV_CLASS}">
2+
{NAV_ICON}&nbsp;&nbsp;{NAV_TITLE}
3+
</span>

seventowers/templates/doc_link.tpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<br />Text-only version: {BLURBNFO}.
1+
<br />
2+
Text-only version: {BLURBNFO}.
+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<div class="download">
2-
<span class="logoimg">{ICON}</span>
2+
<span class="logoimg">
3+
{ICON}
4+
</span>
35
<div class="info">
4-
<p class="info">{FILE_LINK} {FILE_INFO}last modified on {FILE_DATE} {FILE_TIME}{DOCBLURB}</p>
6+
<p class="info">
7+
{FILE_LINK} {FILE_INFO}last modified on {FILE_DATE} {FILE_TIME}{DOCBLURB}
8+
</p>
59
</div>
610
</div>

seventowers/templates/empty.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!-- empty! -->
1+
<!-- empty! -->

seventowers/templates/extern_link.tpl

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<div class="download">
2-
<span class="logoimg">{EXTERN_LINK}</span>
2+
<span class="logoimg">
3+
{EXTERN_LINK}
4+
</span>
35
<div class="info">
4-
<p class="info">{LINK_DESC}</p>
6+
<p class="info">
7+
{LINK_DESC}
8+
</p>
59
</div>
610
</div>

seventowers/templates/file_info.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{FILE_SIZE} KiB {EXT} file,
1+
{FILE_SIZE} KiB {EXT} file,

seventowers/templates/icon_link.tpl

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
<br />Each format as an individual <span class="quicktip" title="Portable Network Graphics">PNG</span>: {BLURBNFO}.
1+
<br />
2+
Each format as an individual
3+
<span class="quicktip" title="Portable Network Graphics">
4+
PNG
5+
</span>
6+
: {BLURBNFO}.

seventowers/templates/linkslist.tpl

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<!-- BEGIN DYNAMIC BLOCK: linksection -->
2-
<h3>{DESC_TITLE}</h3>
2+
<h3>
3+
{DESC_TITLE}
4+
</h3>
35
{LINKLIST}
4-
<p style="text-align: center"><a href="#top">{ICON}&nbsp;Return to top</a></p>
6+
<p style="text-align: center">
7+
<a href="#top">
8+
{ICON}&nbsp;Return to top
9+
</a>
10+
</p>
511
<!-- END DYNAMIC BLOCK: linksection -->
6-
+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<div class="download">
2-
<span class="logoimg">{ICON}</span>
2+
<span class="logoimg">
3+
{ICON}
4+
</span>
35
<div class="info">
4-
<p class="info">{DESCRIPTION_PARA}</p>
6+
<p class="info">
7+
{DESCRIPTION_PARA}
8+
</p>
59
</div>
610
</div>

seventowers/templates/mailform.tpl

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
<form id="sendmail" method="post" action="{ACTION}">
2-
<div><input type="hidden" name="uid" value="{RAND}" /></div>
3-
<p>Your name: <input type="text" name="{NAME_F}" value="{NAME_T}" />
4-
Your e-mail: <input type="text" name="{MAIL_F}" value="{MAIL_T}" />
5-
Subject: <input type="text" name="{SUBJECT_F}" value="{SUBJECT_T}" />
2+
<div>
3+
<input type="hidden" name="uid" value="{RAND}" />
4+
</div>
5+
<p>
6+
Your name:
7+
<input type="text" name="{NAME_F}" value="{NAME_T}" />
8+
Your e-mail:
9+
<input type="text" name="{MAIL_F}" value="{MAIL_T}" />
10+
Subject:
11+
<input type="text" name="{SUBJECT_F}" value="{SUBJECT_T}" />
12+
</p>
13+
<p>
14+
<textarea name="{MESSAGE_F}" rows="20" cols="80">
15+
{MESSAGE_T}
16+
</textarea>
617
</p>
7-
<p><textarea name="{MESSAGE_F}" rows="20" cols="80">{MESSAGE_T}</textarea></p>
818
<p>
919
{RECAPTCHA}
1020
<input type="submit" value="Send Message" />

seventowers/templates/main.tpl

+23-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3-
<html xmlns="http://www.w3.org/1999/xhtml">
4-
<head profile="http://www.w3.org/2005/10/profile">
5-
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
6-
<title>{TITLE}</title>
7-
<link href="default.css" rel="stylesheet" type="text/css" />
8-
<link rel="icon" type="image/png" href="images/home.png"/>
9-
<!-- There is another CSS linked to for MSIE -->
10-
{OUTDATED_BROWSER_CSS}
11-
</head>
12-
13-
<body>
14-
<h1><a class="target" id="top"></a>{TITLE_IMAGE}</h1>
15-
{NAVBAR}
16-
{SUBBAR}
17-
{CONTENT}
18-
</body>
19-
</html>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>
6+
{TITLE}
7+
</title>
8+
<link href="default.css" rel="stylesheet" type="text/css" />
9+
<link rel="icon" type="image/png" href="images/home.png" />
10+
<!-- There is another CSS linked to for MSIE -->
11+
{OUTDATED_BROWSER_CSS}
12+
</head>
13+
<body>
14+
<h1>
15+
<a class="target" id="top">
16+
</a>
17+
{TITLE_IMAGE}
18+
</h1>
19+
{NAVBAR}
20+
{SUBBAR}
21+
{CONTENT}
22+
</body>
23+
</html>

seventowers/templates/menu_button.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<a href="{NAV_DEST}">{NAV_ICON}&nbsp;&nbsp;{NAV_TITLE}</a>
1+
<a href="{NAV_DEST}">
2+
{NAV_ICON}&nbsp;&nbsp;{NAV_TITLE}
3+
</a>

seventowers/templates/navbar.tpl

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<ul class="navbar">
2-
<!-- BEGIN DYNAMIC BLOCK: navbutton -->
3-
<li>{MENUITEM}</li>
4-
<!-- END DYNAMIC BLOCK: navbutton -->
5-
</ul>
2+
<!-- BEGIN DYNAMIC BLOCK: navbutton -->
3+
<li>
4+
{MENUITEM}
5+
</li>
6+
<!-- END DYNAMIC BLOCK: navbutton -->
7+
</ul>

seventowers/templates/paragraph.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<p>{DESCRIPTION_PARA}</p>
1+
<p>
2+
{DESCRIPTION_PARA}
3+
</p>

seventowers/templates/readme_link.tpl

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
<br />Installation instructions, as well as a more complete description of this mod,
2-
are in the included {BLURBNFO} file.
1+
<br />
2+
Installation instructions, as well as a more complete description of this mod,
3+
are in the included {BLURBNFO} file.

seventowers/templates/section.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
<h3>{DESC_TITLE}</h3>
1+
<h3>
2+
{DESC_TITLE}
3+
</h3>
24
{DESCRIPTION_TEXT}

seventowers/templates/sectionbar.tpl

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<p class ="subsections" style="text-align: center">
2-
{SUBBUTTONS}
3-
<script type="text/javascript">var v = document.body.offsetHeight;</script>
1+
<p class="subsections" style="text-align: center">
2+
{SUBBUTTONS}
3+
<script type="text/javascript">
4+
var v = document.body.offsetHeight;
5+
</script>
46
</p>

0 commit comments

Comments
 (0)