Changeset 27054
- Timestamp:
- Feb 24, 2010, 1:33:57 PM (16 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 2 added
- 6 edited
-
Makefile.in (modified) (1 diff)
-
configure.tcsh (modified) (2 diffs)
-
def/destreakRun.d (modified) (1 diff)
-
raw/ipp.imfiles.dat (modified) (1 diff)
-
raw/ipp.php (modified) (3 diffs)
-
raw/nightSummary.php (added)
-
raw/showimage.php (added)
-
raw/site.php.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r26955 r27054 37 37 $(DESTWWW)/phptest.php \ 38 38 $(DESTWWW)/site.php \ 39 $(DESTWWW)/showimage.php \ 40 $(DESTWWW)/nightSummary.php \ 39 41 $(DESTWWW)/getimage.php 40 42 -
trunk/ippMonitor/configure.tcsh
r24662 r27054 133 133 if ($#args != 1) goto usage 134 134 135 set hostname = `hostname -f` 136 135 137 echo 136 138 echo "prefix: $prefix" … … 191 193 cat tmp.2 | sed "s|@PERLLIB@|$libdir|" > tmp.1 192 194 cat tmp.1 | sed "s|@SITE@|$site|" > tmp.2 193 cat tmp.2 | sed "s|@DBI@|$DBI|" > raw/site.php 195 cat tmp.2 | sed "s|@DBI@|$DBI|" > tmp.1 196 cat tmp.1 | sed "s|@HOST@|$hostname|" > raw/site.php 194 197 rm -f tmp.1 tmp.2 195 198 -
trunk/ippMonitor/def/destreakRun.d
r26994 r27054 15 15 FIELD magicDSRun.stage, 5, %s, Stage 16 16 FIELD magicDSRun.stage_id, 5, %d, Stage ID 17 FIELD magicDSFile.component, 5, %s, Component 18 FIELD magicDSFile.streak_frac, 5, %.3f, Streak Frac 17 19 FIELD magicDSRun.cam_id, 5, %d, Camera ID 18 20 FIELD magicDSRun.label, 10, %s, Label -
trunk/ippMonitor/raw/ipp.imfiles.dat
r26947 r27054 17 17 menutop | menutop | plain | External Links | none 18 18 menutop | menutop | link | test page | phptest.php 19 menutop | menutop | link | night summary | nightSummary.php -
trunk/ippMonitor/raw/ipp.php
r26947 r27054 283 283 if (! $project) { $project = "none"; } 284 284 285 // hardwire this name based on the configuration (use ipp.php.in)285 // these are defined in site.php 286 286 global $DBHOST; 287 $HOST = $_SERVER['SERVER_NAME']; 288 echo "<p style=\"font-size:50%\">host: $HOST, db: $DBHOST</p>\n"; 287 global $WWWHOST; 288 289 echo "<p style=\"font-size:50%\">host: $WWWHOST, db: $DBHOST</p>\n"; 289 290 echo "<table class=page cellspacing=10px><tr><td valign=top>\n"; 290 291 echo "<table class=menu cellspacing=0px>\n"; … … 448 449 } 449 450 if ($value == "") { return $where; } 451 452 global $restricted; 453 $restricted = 1; 454 450 455 if ($where) { 451 456 $where = $where . " AND"; … … 680 685 681 686 if ($basename && $camera && $rule) { 687 echo "<a href=\"showimage.php?name=$basename&rule=$rule&camera=$camera&class_id=$class_id\">\n"; 682 688 echo "<img $size src=\"getimage.php?name=$basename&rule=$rule&camera=$camera&class_id=$class_id\">\n"; 689 echo "</a>\n"; 683 690 } 684 691 } -
trunk/ippMonitor/raw/site.php.in
r24662 r27054 1 1 <?php 2 2 3 $DBHOST = "@DBHOST@"; 4 $DBUSER = "@DBUSER@"; 5 $DBPASS = "@DBPASS@"; 3 $WWWHOST = "@HOST@"; 4 $DBHOST = "@DBHOST@"; 5 $DBUSER = "@DBUSER@"; 6 $DBPASS = "@DBPASS@"; 6 7 7 8 $PERLLIB = "@PERLLIB@";
Note:
See TracChangeset
for help on using the changeset viewer.
