Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=homepage-ng.git;a=commitdiff;h=37081878256c9b5e0d60ce87f55191c593eb26f3

commit 37081878256c9b5e0d60ce87f55191c593eb26f3
Author: Devil505 <devil505li...@gmail.com>
Date:   Sun Jan 30 11:10:31 2011 +0100

* added new category for screenshots users

diff --git a/frugalware/screenshots.php b/frugalware/screenshots.php
index ad8f364..b21085e 100644
--- a/frugalware/screenshots.php
+++ b/frugalware/screenshots.php
@@ -174,12 +174,12 @@ $shots[gnetconfig][1][title]=gettext("GNetconfig - 
Interface Management");
$shots[gnetconfig][2][name]="03_gnetconfig.png";
$shots[gnetconfig][2][title]=gettext("GNetconfig - DNS Settings");

-$shots[gservice][0][name]="01_gservice.png";
-$shots[gservice][0][title]=gettext("gService - Main Window");
-$shots[gservice][1][name]="02_gservice.png";
-$shots[gservice][1][title]=gettext("gService - Editing Runlevel Information");
-$shots[gservice][2][name]="03_gservice.png";
-$shots[gservice][2][title]=gettext("gService - Minimal Interface");
+$shots[gservice][0][name]="01_users_lenezir.png";
+$shots[gservice][0][title]=gettext("Openbox - Lenezir");
+$shots[gservice][1][name]="01_users_pingax.png";
+$shots[gservice][1][title]=gettext("GNOME - Pingax");
+$shots[gservice][2][name]="01_users_devil505.png";
+$shots[gservice][2][title]=gettext("XFCE - Devil505");

// include the config and let's start page
include("config.inc.php");
@@ -257,6 +257,14 @@ for ($i=0; $i<count($shots[gservice]); $i++)
"<img 
src=\"".$fwng_root."images/screenshots/default/thumbnails/".$shots[gservice][$i][name]."\"
 alt=\"screenshot\" /></a>".
"<br />".$shots[gservice][$i][title]."</div>\n";
}
+$maincont .= "</fieldset>\n<fieldset class=\"fieldset\" id=\"default\">\n";
+$maincont .= "<legend>".gettext("Screenshots from users")."</legend>\n";
+for ($i=0; $i<count($shots[gservice]); $i++)
+{
+       $maincont .= "<div><a 
href=\"".$fwng_root."images/screenshots/users/".$shots[users][$i][name]."\">".
+       "<img 
src=\"".$fwng_root."images/screenshots/users/thumbnails/".$shots[users][$i][name]."\"
 alt=\"screenshot\" /></a>".
+       "<br />".$shots[gservice][$i][title]."</div>\n";
+}

$maincont .= "</fieldset></form>\n</div>\n";
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to