Update of /cvsroot/tutos/tutos/php/layout
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20407/php/layout
Modified Files:
classic_base.pinc layout_base.pinc new_layout.pinc
Log Message:
various fixes
Index: classic_base.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/layout/classic_base.pinc,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- classic_base.pinc 26 Mar 2004 11:01:38 -0000 1.44
+++ classic_base.pinc 27 Mar 2004 18:53:16 -0000 1.45
@@ -54,7 +54,7 @@
echo " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">";
*/
- if (!true) {
+ if (true) {
echo "<?xml version=\"1.0\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
$xml = true;
@@ -140,8 +140,8 @@
/**
* start a overview row
*/
- function OverviewRowStart($line) {
- return "<tr "this.style.backgroundColor='#ffff72';\" "this.style.backgroundColor=this.style.color;\" class=\"line". ($line % 2 +1) ."\">\n";
+ function OverviewRowStart($line,$title = "") {
+ return "<tr title=\"". myentities($title) ."\" "this.style.backgroundColor='#ffff72';\" "this.style.backgroundColor=this.style.color;\" class=\"line". ($line % 2 +1) ."\">\n";
}
/**
* end a overview row
Index: layout_base.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/layout/layout_base.pinc,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- layout_base.pinc 26 Mar 2004 13:25:01 -0000 1.28
+++ layout_base.pinc 27 Mar 2004 18:53:16 -0000 1.29
@@ -177,7 +177,7 @@
/**
* start a overview row
*/
- function OverviewRowStart($line) {
+ function OverviewRowStart($line,$title = "") {
return $line;
}
/**
Index: new_layout.pinc
===================================================================
RCS file: /cvsroot/tutos/tutos/php/layout/new_layout.pinc,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- new_layout.pinc 26 Mar 2004 11:01:38 -0000 1.32
+++ new_layout.pinc 27 Mar 2004 18:53:16 -0000 1.33
@@ -62,8 +62,8 @@
/**
* start a overview row
*/
- function OverviewRowStart($line) {
- return "<tr "this.style.backgroundColor='#ffff72';\" "this.style.backgroundColor=this.style.color;\" class=\"line". ($line % 2 +1) ."\">\n";
+ function OverviewRowStart($line,$title = "") {
+ return "<tr title=\"". myentities($title) ."\" "this.style.backgroundColor='#ffff72';\" "this.style.backgroundColor=this.style.color;\" class=\"line". ($line % 2 +1) ."\">\n";
}
/**
* end a overview row
@@ -476,12 +476,12 @@
if (!true) {
echo "<?xml version=\"1.0\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
- $xml = true;
+ $xml = true;
$c = "/>";
} else {
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
$c = ">";
- $xml = false;
+ $xml = false;
}
if ( isset($tutos[lang]) && $tutos[lang] != "" ) {
echo "<html dir=\"ltr\" lang=\"". $tutos[lang] ."\">\n";
|