[Scummvm-cvs-logs] scummvm-web master -> 920ac17a405300c960ef4a5714622cbe739d68f4

salty-horse ori at avtalion.name
Wed Apr 13 17:42:57 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
920ac17a40 WEB: Fix HTML validation errors


Commit: 920ac17a405300c960ef4a5714622cbe739d68f4
    https://github.com/scummvm/scummvm-web/commit/920ac17a405300c960ef4a5714622cbe739d68f4
Author: Ori Avtalion (ori at avtalion.name)
Date: 2016-04-13T18:42:32+03:00

Commit Message:
WEB: Fix HTML validation errors

Changed paths:
    templates/game_demos.tpl
    templates/index.tpl
    templates/intro_header.tpl



diff --git a/templates/game_demos.tpl b/templates/game_demos.tpl
index fe6af7d..193e7e1 100644
--- a/templates/game_demos.tpl
+++ b/templates/game_demos.tpl
@@ -36,7 +36,7 @@
 			{foreach from=$group.demos item=demo}
 				<tr class="{cycle values="color2, color0"}">
 					<td>
-						<img src="/images/cat-{$demo->getCategory()}.png" class="downloadImage">
+						<img src="/images/cat-{$demo->getCategory()}.png" class="downloadImage" alt="">
 						<a href="{$demo->getURL()}">{$demo->getName()}</a>
 					</td>
 					<td class="gameTarget">{$demo->getTarget()}</td>
diff --git a/templates/index.tpl b/templates/index.tpl
index 0d0a59b..65752cf 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -53,7 +53,7 @@
 				<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
 					<input type="hidden" name="cmd" value="_s-xclick">
 					<input type="hidden" name="hosted_button_id" value="U6E6SLL7E8MAS">
-					<input type="image" src="/images/ppdonate.png" width="88" height="35" border="0" name="submit" alt="{#indexSupport#}">
+					<input type="image" src="/images/ppdonate.png" style="width: 88px; height: 35px; border: 0 none;" name="submit" alt="{#indexSupport#}">
 					<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
 				</form>
 				<br>
diff --git a/templates/intro_header.tpl b/templates/intro_header.tpl
index f7f2539..9096a06 100644
--- a/templates/intro_header.tpl
+++ b/templates/intro_header.tpl
@@ -53,13 +53,13 @@
 				<p>
 					{#introHeaderContentP4#}
 				</p>
+				<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
+					<input type="hidden" name="cmd" value="_s-xclick">
+					<input type="hidden" name="hosted_button_id" value="U6E6SLL7E8MAS">
+					<input type="image" src="/images/ppdonate.png" style="width: 88px; height: 35px; border: 0 none;" align="right" name="submit" alt="{#indexSupport#}">
+					<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
+				</form>
 				<p>
-					<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
-						<input type="hidden" name="cmd" value="_s-xclick">
-						<input type="hidden" name="hosted_button_id" value="U6E6SLL7E8MAS">
-						<input type="image" src="/images/ppdonate.png" width="63" height="25" align="right" border="0" name="submit" alt="{#indexSupport#}">
-						<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
-					</form>
 					{#introHeaderContentP5#}
 				</p>
 			</div>






More information about the Scummvm-git-logs mailing list