Tue Feb 20 04:39:00 PST 2007
- Previous message: [Slony1-commit] slony1-engine configure.ac
- Next message: [Slony1-commit] slony1-www style.css
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-www
In directory main:/tmp/cvs-serv1921
Modified Files:
index.php
Log Message:
Template documentation with php. This is a quick hack until we have a real docbook template ;)
Index: index.php
===================================================================
RCS file: /home/cvsd/slony1/slony1-www/index.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** index.php 2 Feb 2007 17:18:18 -0000 1.5
--- index.php 20 Feb 2007 12:38:58 -0000 1.6
***************
*** 11,14 ****
--- 11,21 ----
echo layout_defaultblock('404, NOT FOUND','',file_get_contents('./content/404.txt'));
break;
+ case 'docs':
+ $file = str_replace(array("/",".."),"",$_GET["file"]);
+ if ($file == "") $file="index.html";
+ echo layout_header();
+ $text=file_get_contents('./adminguide/current/doc/adminguide/'.$file);
+ echo layout_defaultblock($title,$link,$text);
+ break;
case 'cvs':
echo layout_header();
- Previous message: [Slony1-commit] slony1-engine configure.ac
- Next message: [Slony1-commit] slony1-www style.css
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list