[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/sites/discover
From:       Sebastian Kügler <sebas () kde ! nl>
Date:       2007-12-28 22:58:00
Message-ID: 1198882680.206219.11908.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 754028 by sebas:

- Don't let headers slip beneath icons
- Make screenshot() smarter, now you can supply
  a filename with _thumb in it, it'll use that as
  img and remove the _thumb part for the link. Also
  fix this function
- Add link to "Meet KDE" page
- Don't show banner twice
- Text: functionality and beauty improved
- Screenshot oxygen icons added, needs polishing


 M  +1 -1      css-kde.php  
 M  +10 -6     include/functions.php  
 M  +1 -2      index.php  
 M  +24 -3     kde.php  


--- trunk/www/sites/discover/css-kde.php #754027:754028
@@ -42,7 +42,7 @@
 }
 
 h1 {
-    margin: 0 0.4em 0.3em 0.4em;
+    margin: 0 1.6sem 0.3em 0.4em;
     font-size: 2em;
 }
 
--- trunk/www/sites/discover/include/functions.php #754027:754028
@@ -12,7 +12,10 @@
 }
 
 function screenshot ($image, $description=FALSE, $cat=FALSE, $align="right") {
-	/* Add a frame, link, description to a screenshot. */
+	/* 
+		Add a frame, link, description to a screenshot. If the image parameter has 
+		"_thumb" it it, it will be removed and linked to as 'fullsize'
+	*/
 
 	global $c, $category;
 	if ($cat) {
@@ -23,8 +26,9 @@
 		$bg = $c["create"];
 	}
 	
-	$filename = "images/screenshots/" . $name. ".png";
+	$filename = "images/screenshots/" . $image. ".png";
 	if (!file_exists($filename)) {
+		print $filename . " doesn't exits";
 		$filename = "images/screenshots/desktop.png";
 	}
 	if ("right"==$align)
@@ -41,11 +45,11 @@
 				padding-$align: 1px;
 				background: $bg; 
 				border: 1px solid $white; 
-			";	
-
+			";
+	$fullsize = str_replace("_thumb", "", $filename);
 	$out .= "<div style=\"$css\">\n\t"; 
-	$out .= '<a href="images/screenshots/'. $image .'" title="Click for full size">' . \
                "\n\t";
-	$out .= '<img src="' . $filename . '" alt="'. $description .'" class="screenshot" \
/></a>' . "\n"; +	$out .= '<a href="'.$fullsize .'" title="Click for full size">' . \
"\n\t"; +	$out .= '<img src="'. $filename .'" alt="'. $description .'" \
class="screenshot" /></a>' . "\n";  if ($description) {
 		$out .= "\t<br /><strong><em>$description</em></strong>\n";
 	}
--- trunk/www/sites/discover/index.php #754027:754028
@@ -3,8 +3,7 @@
 include("include/header.php");
 
 ?>
-	<span><img src="images/banner.png" /></span>
-	<img src="/images/banner.png" alt="KDE 4.0 is coming soon" />bla
+	<span><img src="images/banner.png"  alt="KDE 4.0 is coming soon" /></span>
 <?php
 include("include/footer.php");
 ?>
\ No newline at end of file
--- trunk/www/sites/discover/kde.php #754027:754028
@@ -11,6 +11,15 @@
 <!---<img src="images/get.png" style="float:right;" />-->
 <?php screenshot("desktop.png", "The KDE Desktop with the dolphin filemanager"); ?>
 <p>
+KDE's "Plasma" technology combines beautiful artwork with modern graphical 
+hardware capabilities to provide intuitive ways of interacting with your computer.
+ Graphical effects are used throughout the desktop to provide visual hints to 
+the human brain that make for easier orientation in the 'world of your computer', 
+and that help you focus on your task. The KDE desktop supports your current way 
+of interacting with the computer and at the same time offers new technologies.<br />
+Once you try KDE, you won't want to go back!
+</p>
+<p>
 KDE has applications for nearly everyone. Browse the web, chat with your friends,
 work on documents -- you name it, KDE has it. KDE is the great system to 
 <a href="be_productive.php" title="Learn more about using KDE in the office \
space">do @@ -23,7 +32,8 @@
 <p>
 KDE is Free Software developed by a world-wide community. This means for you, the \
user, that   KDE software is developed based on the user's needs, not on some \
                company's revenue model. KDE 
-does what you want -- and if it doesn't, the community of contributors is always \
open for your suggestions. +does what you want -- and if it doesn't, the community of \
contributors is always open for  +your suggestions.
 </p>
 
 <h1>How would you like your KDE today?</h1>
@@ -50,11 +60,19 @@
 integrate well into the technology. KDE's solutions for handling of multimedia, 
 integrating hardware into the system and dealing with your data are second to none. 
 This makes KDE the most compelling offer for those who value control over 
-their data and for those that simply want things to work well.
+their data and for those that simply want things to work well. The KDE dekstop 
+comes with a basic set of applications for file management, image and document 
+viewing, tools to set up the working environment and games. More programs, can be
+installed easily. For nearly every purpose, KDE comes with a handy tool or 
+full-fledged application that help you getting the job done. Multimedia applications
+for digital image editing, managing your fotocollections, playing music and movies,
+KDE has it all. Everything integrates well with each other and thereby create a 
+complete, consistent and easy to use environment that is a pleasure to work with.
 </p>
 
 
 <h2>Beautiful</h2>
+<?php screenshot("oxygen-icons_thumb", "The Oxygen icon theme"); ?>
 <p>
 A team of artists has gathered to make KDE not only functional, but also pleasing to
 the eye. The international team of artists have created a consistent, contemporary
@@ -62,8 +80,11 @@
 artwork blends in well with possibilities new PC hardware offers but does not depend \
on it.   KDE is fully usable even on old machines.
 </p>
+<p>
+The Oxygen artwork is used throughout all applications. This way, we ensure you
+a consistant computing experience. 
+</p>
 
-
 <?php
 include("include/footer.php");
 ?>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic