From 40b0b283a3ec71c723c2e8cea139f4280c971e70 Mon Sep 17 00:00:00 2001 From: Marzo Sette Torres Junior Date: Wed, 1 May 2024 21:29:03 +0200 Subject: [PATCH] Using classes for images --- april2004.html | 6 ++--- aprilfools.html | 2 +- content/news.dat | 2 +- content/screenshots.dat | 48 ++++++++++++++++----------------- content/screenshots_zaurus.dat | 28 +++++++++---------- default.css | 32 +++++++++++++++++----- screenshots.php | 12 ++++----- screenshots_zaurus.php | 13 +++------ templates/main.tpl | 6 ++--- templates/main_xhtml.tpl | 6 ++--- templates/screenshot.tpl | 4 +-- templates/screenshot_zaurus.tpl | 2 +- 12 files changed, 86 insertions(+), 75 deletions(-) diff --git a/april2004.html b/april2004.html index 0adab277..4cb6c6f8 100644 --- a/april2004.html +++ b/april2004.html @@ -165,11 +165,11 @@

SourceForge + alt="SourceForge" class="banner">   Valid HTML 4.0! + src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!" + class="banner"> diff --git a/aprilfools.html b/aprilfools.html index 29d78abe..0f73e86f 100644 --- a/aprilfools.html +++ b/aprilfools.html @@ -66,7 +66,7 @@


- EA.com +
diff --git a/content/news.dat b/content/news.dat index e6217036..b3030640 100644 --- a/content/news.dat +++ b/content/news.dat @@ -124,7 +124,7 @@ in a close race with Nuvie.
Our prize was a hand signed certificate by our Liege Lord British to each member of the development team.
- Fan Project 2014 certificate

+ Fan Project 2014 certificate

Exult on an iPhone/iPad
Chaoji Li (aka Litchie) forked Exult on Github to work on the initial porting effort by Lanica Dragon (which had stopped in 2013).
diff --git a/content/screenshots.dat b/content/screenshots.dat index f088d5e2..cb6b43e9 100644 --- a/content/screenshots.dat +++ b/content/screenshots.dat @@ -1,32 +1,32 @@ diff --git a/content/screenshots_zaurus.dat b/content/screenshots_zaurus.dat index 44774e7d..7ff1cb22 100644 --- a/content/screenshots_zaurus.dat +++ b/content/screenshots_zaurus.dat @@ -1,17 +1,17 @@ diff --git a/default.css b/default.css index f077c286..21556024 100644 --- a/default.css +++ b/default.css @@ -10,17 +10,37 @@ div.centered { display: block; } -img.about_exult_image{ - display: block; - margin-top: 0.4em; - margin-bottom: 0.4em; - margin-left: 0.6em; - margin-right: 0.6em; +img.about_exult_image { + margin: 0.6em; width: 160px; height: 100px; border: 0; } +img.certificate { + margin: 0.6em; + width: 245px; + height: 321px; + border: 0; +} + +img.screenshot { + margin: 0.6em; + width: 160px; + height: 100px; + border: 0; +} + +img.screenshot_zaurus { + margin: 0.6em; + border: 0; +} + +img.ea_logo { + margin: 0.6em; + border: 0; +} + /* Light theme */ body { diff --git a/screenshots.php b/screenshots.php index c9982e42..56b966ed 100644 --- a/screenshots.php +++ b/screenshots.php @@ -3,7 +3,7 @@ $DATAFILE = "screenshots.dat"; $CUSTOM_PARSE = true; - include( "base.inc" ); + include( "base.inc" ); @@ -14,10 +14,10 @@ ) ); - + // dirty trick to seperate data and content a bit ;) include("content/screenshots.dat"); - + $tpl->parse("CONTENT", "screenshots"); add_topic_headline($HEADLINE); $tpl->parse("MAIN", "main"); @@ -25,15 +25,13 @@ exit; - function add_screenshot( $file, $width, $height, $desc ) + function add_screenshot( $file, $desc ) { global $tpl, $picture_count; - + $tpl->assign( array( "FILENAME" => $file, - "WIDTH" => $width, - "HEIGHT" => $height, "DESCRIPTION" => $desc ) ); diff --git a/screenshots_zaurus.php b/screenshots_zaurus.php index 82f5b1c1..18195248 100644 --- a/screenshots_zaurus.php +++ b/screenshots_zaurus.php @@ -3,9 +3,7 @@ $DATAFILE = "screenshots_zaurus.dat"; $CUSTOM_PARSE = true; - include( "base.inc" ); - - + include( "base.inc" ); $tpl->define( array( @@ -14,10 +12,9 @@ ) ); - // dirty trick to seperate data and content a bit ;) include("content/screenshots_zaurus.dat"); - + $tpl->parse("CONTENT", "screenshots"); add_topic_headline($HEADLINE); $tpl->parse("MAIN", "main"); @@ -25,15 +22,13 @@ exit; - function add_screenshot( $file, $width, $height, $desc ) + function add_screenshot( $file, $desc ) { global $tpl, $picture_count; - + $tpl->assign( array( "FILENAME" => $file, - "WIDTH" => $width, - "HEIGHT" => $height, "DESCRIPTION" => $desc ) ); diff --git a/templates/main.tpl b/templates/main.tpl index fedd8474..bca0f0be 100644 --- a/templates/main.tpl +++ b/templates/main.tpl @@ -82,11 +82,11 @@ SourceForge + alt="SourceForge" class="banner">   Valid HTML 4.0! + src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!" + class="banner"> diff --git a/templates/main_xhtml.tpl b/templates/main_xhtml.tpl index 037b4943..72c6bb1b 100644 --- a/templates/main_xhtml.tpl +++ b/templates/main_xhtml.tpl @@ -81,11 +81,11 @@ SourceForge + alt="SourceForge" class="banner">   Valid HTML 4.0! + src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!" + class="banner"> diff --git a/templates/screenshot.tpl b/templates/screenshot.tpl index ed6ef1fc..a87cdaec 100644 --- a/templates/screenshot.tpl +++ b/templates/screenshot.tpl @@ -1,3 +1 @@ - - {DESCRIPTION} - +{DESCRIPTION} diff --git a/templates/screenshot_zaurus.tpl b/templates/screenshot_zaurus.tpl index 0eac5069..a9b9bb7b 100644 --- a/templates/screenshot_zaurus.tpl +++ b/templates/screenshot_zaurus.tpl @@ -1 +1 @@ -{DESCRIPTION} +{DESCRIPTION}