From: <ai...@us...> - 2009-01-06 02:22:09
|
Revision: 9255 http://plplot.svn.sourceforge.net/plplot/?rev=9255&view=rev Author: airwin Date: 2009-01-06 01:55:20 +0000 (Tue, 06 Jan 2009) Log Message: ----------- Allow user to display both Ada(thick) and Ada(thin) source code. Modified Paths: -------------- trunk/www/examples.php Modified: trunk/www/examples.php =================================================================== --- trunk/www/examples.php 2009-01-06 01:49:40 UTC (rev 9254) +++ trunk/www/examples.php 2009-01-06 01:55:20 UTC (rev 9255) @@ -73,7 +73,8 @@ <p>Select language to see the source code</p> <form class="codeform" action="examples.php" method="get"> <input type="hidden" name="demo" value="$demo_str" /> - <input type="submit" name="lbind" value="Ada" /> + <input type="submit" name="lbind" value="Ada(thick)" /> + <input type="submit" name="lbind" value="Ada(thin)" /> <input type="submit" name="lbind" value="C" /> <input type="submit" name="lbind" value="C++" /> <input type="submit" name="lbind" value="F77" /> @@ -88,7 +89,8 @@ END; switch($lbind) { - case ("Ada"): $fname = "x" . $demo_str . "a.adb-"; break; + case ("Ada(thick)"): $fname = "xthick" . $demo_str . "a.adb-"; break; + case ("Ada(thin)"): $fname = "x" . $demo_str . "a.adb-"; break; case ("C"): $fname = "x" . $demo_str . "c.c-"; break; case ("C++"):$fname = "x" . $demo_str . ".cc-"; break; case ("F77"): $fname = "x" . $demo_str . "f.f-"; break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |