qsos-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qsos-commits] qsos/apps/phpviewer radar.php radar_single.php ...


From: Raphaël Semeteys
Subject: [Qsos-commits] qsos/apps/phpviewer radar.php radar_single.php ...
Date: Tue, 07 Nov 2006 23:18:52 +0000

CVSROOT:        /sources/qsos
Module name:    qsos
Changes by:     Raphaël Semeteys <rsemeteys>   06/11/07 23:18:52

Modified files:
        apps/phpviewer : radar.php radar_single.php show.php 
                         show_single.php 

Log message:
        config file externalized

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qsos/apps/phpviewer/radar.php?cvsroot=qsos&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qsos/apps/phpviewer/radar_single.php?cvsroot=qsos&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qsos/apps/phpviewer/show.php?cvsroot=qsos&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qsos/apps/phpviewer/show_single.php?cvsroot=qsos&r1=1.1&r2=1.2

Patches:
Index: radar.php
===================================================================
RCS file: /sources/qsos/qsos/apps/phpviewer/radar.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- radar.php   31 Oct 2006 15:56:05 -0000      1.1
+++ radar.php   7 Nov 2006 23:18:52 -0000       1.2
@@ -1,6 +1,7 @@
 <?php
-include ("jpgraph-2.1.3/src/jpgraph.php");
-include ("jpgraph-2.1.3/src/jpgraph_radar.php");
+include("config.php");
+include ("$jpgraph_path/jpgraph.php");
+include ("$jpgraph_path/jpgraph_radar.php");
 include("QSOSDocument.php");
 
 $files = $_GET['f'];

Index: radar_single.php
===================================================================
RCS file: /sources/qsos/qsos/apps/phpviewer/radar_single.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- radar_single.php    31 Oct 2006 15:56:05 -0000      1.1
+++ radar_single.php    7 Nov 2006 23:18:52 -0000       1.2
@@ -1,6 +1,7 @@
 <?php
-include ("jpgraph-2.1.3/src/jpgraph.php");
-include ("jpgraph-2.1.3/src/jpgraph_radar.php");
+include("config.php");
+include("$jpgraph_path/jpgraph.php");
+include("$jpgraph_path/jpgraph_radar.php");
 include("QSOSDocument.php");
 
 $file = $_GET['f'];

Index: show.php
===================================================================
RCS file: /sources/qsos/qsos/apps/phpviewer/show.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- show.php    31 Oct 2006 15:56:05 -0000      1.1
+++ show.php    7 Nov 2006 23:18:52 -0000       1.2
@@ -118,7 +118,14 @@
 echo "[<a id='comment_selector' href='javascript:hideComments();'>Hide 
comments</a>]";
 echo "<table style='border-collapse: collapse; table-layout: fixed;'>\n";
 
-echo "<tr class='title'><td>$family</td>";
+echo "<tr class='title'><td>$family ";
+
+$f = "";
+foreach($files as $file) {
+       $f .= "f[]=$file&";
+}
+echo " [<a href='radar.php?".$f."'>Schema</a>]</td>";
+
 for($i=0; $i<$num; $i++) {
        echo "<td>$app[$i]</td><td id='comment'>Comments</td>";
 }

Index: show_single.php
===================================================================
RCS file: /sources/qsos/qsos/apps/phpviewer/show_single.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- show_single.php     31 Oct 2006 15:56:05 -0000      1.1
+++ show_single.php     7 Nov 2006 23:18:52 -0000       1.2
@@ -106,7 +106,7 @@
 
 echo "[<a id='comment_selector' href='javascript:hideComments();'>Hide 
comments</a>]";
 echo "<table style='border-collapse: collapse; table-layout: fixed;'>\n";
-echo "<tr class='title'><td>$family</td><td>$app</td><td 
id='comment'>Comments</td></tr>\n";
+echo "<tr class='title'><td>$family [<a 
href='radar_single.php?f=$file'>Schema</a>]</td><td>$app</td><td 
id='comment'>Comments</td></tr>\n";
 showtree($myDoc, $file, $myDoc->getTree(), 0, '');
 echo "</table>\n";
 
@@ -147,6 +147,5 @@
 }
 
 ?>
-<script language="JavaScript" type="text/javascript" 
src="wz_tooltip.js"></script>
 </body>
 </html>
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]