[Scummvm-cvs-logs] CVS: web documentation.php,1.3,1.4
Max Horn
fingolfin at users.sourceforge.net
Tue Jul 22 05:35:11 CEST 2003
Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1:/tmp/cvs-serv11396
Modified Files:
documentation.php
Log Message:
make it easier to see the port status at a glance by giving each port its own column
Index: documentation.php
===================================================================
RCS file: /cvsroot/scummvm/web/documentation.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- documentation.php 29 May 2003 23:17:05 -0000 1.3
+++ documentation.php 22 Jul 2003 12:34:15 -0000 1.4
@@ -22,7 +22,13 @@
if ($view and file_exists($file_root."/docs/".$view.".xml"))
{
- echo html_frame_tr(html_frame_td(display_xml($file_root."/docs/".$view.".xml",'BODY').html_p()));
+ // First extract the body from the XML file
+ $html = display_xml($file_root."/docs/".$view.".xml",'BODY');
+ // Now evaluate any PHP code embded into it
+ $html = eval("?>" . $html . "<?php ");
+
+ // Finally disply the result
+ echo html_frame_tr(html_frame_td($html . html_p()));
}
else
{
More information about the Scummvm-git-logs
mailing list