Hi everybody.
1) I just make a simple patch for web. It's a format one. I saw you use
many of unquoted/simple quote variables. The patch just make the website
uses double quotes.
2) Maybe a tabulation on sources could be great.
3)I'm translating pages to french. I'll send you files when it will be done.
See you
? web.patch
? p/docs/fr-body
? p/docs/fr-title
Index: p.php
===================================================================
RCS file: /var/cvs/e/web/www/p.php,v
retrieving revision 1.2
diff -u -r1.2 p.php
--- p.php 25 Mar 2007 06:23:25 -0000 1.2
+++ p.php 26 Mar 2007 10:31:29 -0000
@@ -14,9 +14,9 @@
</head>
<body>
-<table width=100% border=0 cellpadding=0 cellspacing=0><tr>
-<td class="t" width=50% valign=top align=left>
- <table width=100px height=100px border=0 cellpadding=0 cellspacing=0>
+<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>
+<td class="t" width="50%" valign="top" align="left">
+ <table width="100px" height="100px" border="0" cellpadding="0" cellspacing="0">
<?php
nav_button("main1", "lnav");
nav_button("main2", "lnav");
@@ -24,15 +24,15 @@
nav_button("main4", "lnav");
?>
</table>
-<img src="i/_.gif" width=1 height=8><br>
-<img src="i/_.gif" width=4 height=4>
+<img src="i/_.gif" width="1" height="8"><br>
+<img src="i/_.gif" width="4" height="4">
<?php show_langs("p/lang1"); ?>
</td>
-<td class="tl" width=612 height=250 valign=bottom align=center>
- <img src="i/_.gif" width=612 height=1><?php nav_subs(); ?>
+<td class="tl" width="612" height="250" valign="bottom" align="center">
+ <img src="i/_.gif" width="612" height="1"><?php nav_subs(); ?>
</td>
-<td class="t" width=50% valign=top align=right>
- <table width=100px height=100px border=0 cellpadding=0 cellspacing=0>
+<td class="t" width=50% valign="top" align="right">
+ <table width="100px" height="100px" border="0" cellpadding="0" cellspacing="0">
<?php
nav_button("main5", "rnav");
nav_button("main6", "rnav");
@@ -40,9 +40,9 @@
nav_button("main8", "rnav");
?>
</table>
-<img src="i/_.gif" width=1 height=8><br>
+<img src="i/_.gif" width="1" height="8"><br>
<?php show_langs("p/lang2"); ?>
-<img src="i/_.gif" width=4 height=4>
+<img src="i/_.gif" width="4" height="4">
</td>
</tr></table>
Index: site/site.php
===================================================================
RCS file: /var/cvs/e/web/www/site/site.php,v
retrieving revision 1.3
diff -u -r1.3 site.php
--- site/site.php 25 Mar 2007 06:23:26 -0000 1.3
+++ site/site.php 26 Mar 2007 10:31:30 -0000
@@ -23,20 +23,20 @@
global $page;
global $lang;
list($width, $height, $type, $attr) = getimagesize("p/$page/d/$src");
- print("<img src='p/$page/d/$src' width=$width height=$height alt='$alt' border=0>");
+ print("<img src=\"p/$page/d/$src\" width=$width height=$height alt=\"$alt\" border=0>");
}
function thm($src, $alt) {
global $page;
global $lang;
list($width, $height, $type, $attr) = getimagesize("p/$page/d/.t.$src");
- print("<a href='p/$page/d/$src'><img src='p/$page/d/.t.$src' width=$width height=$height alt='$alt' class='thumb'></a>");
+ print("<a href=\"p/$page/d/$src\"><img src=\"p/$page/d/.t.$src\" width=$width height=$height alt=\"$alt\" class=\"thumb\"></a>");
}
function a($pg, $txt) {
global $page;
global $lang;
- print("<a href='p.php?page=$pg?l=$lang'>$txt</a>");
+ print("<a href=\"p.php?page=$pg?l=$lang\">$txt</a>");
}
/* utility functions */
@@ -63,7 +63,7 @@
$fl = fgets($handle, 4096);
$fl = str_replace("\n", "", $fl);
if ($fl != "") {
- print("<a href='p.php?p=$page&l=$fl'><img src='i/$fl.png' width=24 height=18></a>\n");
+ print("<a href=\"p.php?p=$page&l=$fl\"><img src=\"i/$fl.png\" width=24 height=18></a>\n");
}
}
}
@@ -85,7 +85,7 @@
else if (file_exists("p/$b/link")) {
$h = read_var("p/$b/link");
}
- print("<tr><td class='$c'><a class='nav' href='$h'>$l</a></td></tr>\n");
+ print("<tr><td class=\"$c\"><a class=\"nav\" href=\"$h\">$l</a></td></tr>\n");
}
function nav_subs() {
@@ -109,14 +109,14 @@
if ($h == "") {
$h = "p.php?p=$page/$fl&l=$lang";
}
- print("<td class='nav'><a class='nav' href='$h'>$l</a></td>\n");
+ print("<td class=\"nav\"><a class=\"nav\" href=\"$h\">$l</a></td>\n");
}
else if (file_exists("p/$page/$fl/en-label")) {
$l = read_var("p/$page/$fl/en-label");
if ($h == "") {
$h = "p.php?p=$page/$fl&l=$lang";
}
- print("<td class='nav'><a class='nav' href='$h'>$l</a></td>\n");
+ print("<td class=\"nav\"><a class=\"nav\" href=\"$h\">$l</a></td>\n");
}
}
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel