IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9003


Ignore:
Timestamp:
Sep 26, 2006, 6:19:19 PM (20 years ago)
Author:
eugene
Message:

many changes to support the inline images and linked images

Location:
trunk/ippMonitor
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/Makefile

    r8984 r9003  
    2222$(DESTBIN)/DetrendSteps.php \
    2323$(DESTBIN)/ImfileTables.php \
    24 $(DESTBIN)/phptest.php
     24$(DESTBIN)/phptest.php \
     25$(DESTBIN)/flat_1_0.b1.jpeg \
     26$(DESTBIN)/flat_1_0.b2.jpeg \
     27$(DESTBIN)/pic.png
     28
    2529
    2630DEFSRC = \
     
    8084        cp $< $@
    8185
     86$(SRC)/%.png: $(RAW)/%.png
     87        @if [ ! -d $(SRC) ]; then mkdir -p $(SRC); fi
     88        cp $< $@
     89
     90$(SRC)/%.jpeg: $(RAW)/%.jpeg
     91        @if [ ! -d $(SRC) ]; then mkdir -p $(SRC); fi
     92        cp $< $@
     93
    8294$(DESTBIN)/%.php: $(SRC)/%.php
    8395        @if [ ! -d $(DESTBIN) ]; then mkdir -p $(DESTBIN) || exit; fi
     
    100112        cp $(SRC)/$*.jpg $(DESTBIN)/$*.jpg || exit
    101113
     114$(DESTBIN)/%.jpeg: $(SRC)/%.jpeg
     115        @if [ ! -d $(DESTBIN) ]; then mkdir -p $(DESTBIN) || exit; fi
     116        rm -f $(DESTBIN)/$*.jpeg || exit
     117        cp $(SRC)/$*.jpeg $(DESTBIN)/$*.jpeg || exit
     118
     119$(DESTBIN)/%.png: $(SRC)/%.png
     120        @if [ ! -d $(DESTBIN) ]; then mkdir -p $(DESTBIN) || exit; fi
     121        rm -f $(DESTBIN)/$*.png || exit
     122        cp $(SRC)/$*.png $(DESTBIN)/$*.png || exit
     123
    102124# utilities #################################################
    103125
  • trunk/ippMonitor/def/autocode.php

    r8984 r9003  
    55$ID = checkID ();
    66
    7 menu('$MENU', '$TITLE', '$STYLE', $ID['link']);
     7if ($ID['menu']) {
     8  $myMenu = $ID['menu'];
     9} else {
     10  $myMenu = "$MENU";
     11}
     12
     13menu($myMenu, '$TITLE', '$STYLE', $ID['link']);
    814
    915echo "<p> $TITLE </p>";
     
    2632  menu_end();
    2733}
     34
     35// ** BODY HTML **
    2836
    2937// set up the table and form
     
    5866$pass = $ID['pass'];
    5967$proj = $ID['proj'];
     68$menu = $ID['menu'];
    6069echo "<input type=\"hidden\" name=\"pass\" value=\"$pass\">\n";
    6170echo "<input type=\"hidden\" name=\"proj\" value=\"$proj\">\n";
     71echo "<input type=\"hidden\" name=\"menu\" value=\"$menu\">\n";
    6272echo "</form>\n";
     73
     74// ** TAIL HTML **
    6375
    6476menu_end();
  • trunk/ippMonitor/def/detInputExp.d

    r8984 r9003  
    44MENU  ipp.detrend.dat
    55
    6 #     field     name     link to     extras
    7 FIELD det_id, det_id
     6BODY.HTML  test 1 <br>
     7BODY.HTML  test 2 <br>
     8BODY.HTML  test 3 <br>
     9
     10#     field      name       show        link to                 extras
     11FIELD det_id,    det_id
    812FIELD iteration, iteration
    9 FIELD exp_id, exp_id
    10 FIELD include, include
     13FIELD exp_id,    exp_id,    value,      rawImfile.php,          exp_id=$exp_id
     14FIELD exp_id,    processed, value=proc, detProcessedImfile.php, exp_id=$exp_id,det_id=$det_id
     15FIELD include,   include
     16
     17TAIL.HTML test tail 1 <br>
     18TAIL.HTML test tail 2 <br>
     19TAIL.HTML test tail 3 <br>
  • trunk/ippMonitor/def/detMasterFrame.d

    r8984 r9003  
    44MENU  ipp.detrend.dat
    55
    6 #     field     name     link to     extras
     6#     field     name     show  link to     extras
    77FIELD det_id, det_id
    88FIELD iteration, iteration
  • trunk/ippMonitor/def/detMasterImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6#     field     name     show  link to     extras
    77FIELD det_id, det_id
    88FIELD class_id, class_id
  • trunk/ippMonitor/def/detNormalizedImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6#     field     name     show   link to     extras
    77FIELD det_id, det_id
    88FIELD iteration, iteration
  • trunk/ippMonitor/def/detNormalizedStatImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6#     field     name     show   link to     extras
    77FIELD det_id, det_id
    88FIELD iteration, iteration
  • trunk/ippMonitor/def/detProcessedImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6RESTRICT exp_id
     7RESTRICT det_id
     8
     9#     field     name      show   link to     extras
    710FIELD det_id, det_id
    811FIELD exp_id, exp_id
  • trunk/ippMonitor/def/detResidExp.d

    r8984 r9003  
    44MENU  ipp.detrend.dat
    55
    6 #     field     name     link to     extras
    7 FIELD det_id, det_id
    8 FIELD iteration, iteration
    9 FIELD exp_id, exp_id
    10 FIELD recipe, recipe
    11 FIELD bg, bg
    12 FIELD bg_stdev, bg_stdev
    13 FIELD bg_mean_stdev, bg_mean_stdev
    14 FIELD b1_uri, b1_uri
    15 FIELD b2_uri, b2_uri
    16 FIELD accept, accept
     6#     field      name       show            link to         extras
     7FIELD det_id,    det_id,    value
     8FIELD iteration, iteration, value
     9FIELD accept,    accept,    value
     10FIELD exp_id,    exp_id,    value,          rawImfile.php,  exp_id=$exp_id
     11FIELD b1_uri,    b1_uri,    image=$b1_uri,  display.php,    image=$b2_uri
     12FIELD recipe,    recipe,    image=pic.png
     13FIELD bg,        backgnd,   value
     14FIELD bg_stdev,  bg_stdev,  value
     15FIELD b2_uri,    b2_uri,    none
     16# FIELD bg_mean_stdev, bg_mean_stdev
  • trunk/ippMonitor/def/detResidImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6#     field     name        show  link to     extras
    77FIELD det_id, det_id
    88FIELD iteration, iteration
  • trunk/ippMonitor/def/detRun.d

    r8984 r9003  
    44MENU  ipp.detrend.dat
    55
    6 #     field     name     link to     extras
     6#     field      name         show    link to              extras
     7FIELD position,  det ID,      value,  detRunSummary.php,   det_id=$position
    78FIELD iteration, iteration
    8 FIELD det_type, det_type
     9FIELD det_type,  det_type
  • trunk/ippMonitor/def/detRunSummary.d

    r8984 r9003  
    44MENU  ipp.detrend.dat
    55
    6 #     field    name    link to     extras
    7 FIELD det_id, det_id
    8 FIELD iteration, iteration
    9 FIELD bg, bg
    10 FIELD bg_stdev, bg_stdev
    11 FIELD bg_mean_stdev, bg_mean_stdev
    12 FIELD accept, accept
     6#     field      name           show         link to           extras
     7FIELD det_id,    det_id
     8FIELD iteration, iteration,     value,       detInputExp.php,  det_id=$det_id,iteration=$iteration
     9FIELD iteration, iteration,     value=resid, detResidExp.php,  det_id=$det_id,iteration=$iteration
     10FIELD accept,    accept
     11FIELD bg,        bg
     12FIELD bg_stdev,  bg_stdev
     13# FIELD bg_mean_stdev, bg_mean_stdev
  • trunk/ippMonitor/def/detStackedImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6#     field     name                   show  link to     extras
    77FIELD det_id, det_id
    88FIELD iteration, iteration
  • trunk/ippMonitor/def/newExp.d

    r8984 r9003  
    11TABLE newExp
    2 TITLE Raw Science Exposures
     2TITLE New Exposures
    33FILE  newExp.php
    44MENU  ipp.copy.dat
    55
    6 #        field          name           link to         extras
     6#        field          name           show     link to         extras
    77FIELD    exp_id,        exposure ID
    88FIELD    camera,        camera
  • trunk/ippMonitor/def/newImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #        field          name           link to         extras
     6#        field          name           show   link to         extras
    77FIELD    exp_id,        exposure ID
    88FIELD    class,         class
  • trunk/ippMonitor/def/p1PendingExp.d

    r8984 r9003  
    44MENU  ipp.science.dat
    55
    6 #     field       name         link to         extras
    7 FIELD exp_id,     exposure ID, rawImfile.php,  exp_id=$exp_id
     6#     field       name         show     link to         extras
     7FIELD exp_id,     exposure ID, value,   rawImfile.php,  exp_id=$exp_id
    88FIELD recipe,     recipe
    99FIELD p1_version, p1 version
  • trunk/ippMonitor/def/p2PendingExp.d

    r8984 r9003  
    44MENU  ipp.science.dat
    55
    6 #     field       name         link to         extras
    7 FIELD exp_id,     exposure ID, rawImfile.php,  exp_id=$exp_id
     6#     field       name         show    link to         extras
     7FIELD exp_id,     exposure ID, value,  rawImfile.php,  exp_id=$exp_id
    88FIELD recipe,     recipe
    99FIELD p1_version, p1 version
  • trunk/ippMonitor/def/p2PendingImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field     name     link to     extras
     6#     field     name           show   link to     extras
    77FIELD exp_id,   exposure ID
    88FIELD class_id, class ID
  • trunk/ippMonitor/def/p2ProcessedExp.d

    r8984 r9003  
    44MENU  ipp.science.dat
    55
    6 #     field       name         link to                 extras
    7 FIELD exp_id,     exposure ID, p2ProcessedImfile.php,  exp_id=$exp_id
    8 FIELD p1_version, p1 version,  p1PendingExp.php        exp_id=$exp_id
     6#     field       name         show   link to                 extras
     7FIELD exp_id,     exposure ID, value, p2ProcessedImfile.php,  exp_id=$exp_id
     8FIELD p1_version, p1 version,  value, p1PendingExp.php        exp_id=$exp_id
    99FIELD p2_version, p2 version
  • trunk/ippMonitor/def/p2ProcessedImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #     field          name         link to     extras
     6#     field          name          show  link to     extras
    77FIELD exp_id,        exposure ID
    88FIELD class_id,      class ID
  • trunk/ippMonitor/def/p3PendingExp.d

    r8984 r9003  
    44MENU  ipp.science.dat
    55
    6 #     field       name          link to                extras
    7 FIELD exp_id,     exposure ID,  p2ProcessedImfile.php, exp_id=$exp_id
    8 FIELD p2_version, p2 version,   p2ProcessedExp.php,    exp_id=$exp_id
     6#     field       name          show   link to                extras
     7FIELD exp_id,     exposure ID,  value, p2ProcessedImfile.php, exp_id=$exp_id
     8FIELD p2_version, p2 version,   value, p2ProcessedExp.php,    exp_id=$exp_id
    99FIELD p3_version, p3 version
  • trunk/ippMonitor/def/pzPendingExp.d

    r8984 r9003  
    44MENU  ipp.copy.dat
    55
    6 #        field        name           link to         extras
     6#        field          name           show     link to         extras
    77FIELD    exp_id,        exposures ID
    88FIELD    camera,        camera
  • trunk/ippMonitor/def/pzPendingImfile.d

    r8984 r9003  
    44MENU  ipp.imfiles.dat
    55
    6 #        field        name           link to         extras
    7 FIELD    exp_id,        exposure ID
    8 FIELD    bytes,         number of bytes
    9 FIELD    md5sum,        checksum
    10 FIELD    class,         class
    11 FIELD    class_id,      class ID
    12 FIELD    uri,           URI
     6#        field        name             show   link to         extras
     7FIELD    exp_id,      exposure ID
     8FIELD    bytes,       number of bytes
     9FIELD    md5sum,      checksum
     10FIELD    class,       class
     11FIELD    class_id,    class ID
     12FIELD    uri,         URI
  • trunk/ippMonitor/def/rawDetrendExp.d

    r8984 r9003  
    44MENU  ipp.copy.dat
    55
    6 #        field        name           link to         extras
    7 FIELD    exp_id,      exposure ID,   rawImfile.php,  exp_id=$exp_id
    8 FIELD    telescope,   Telescope,     telescopes.php
     6#        field        name           show     link to         extras
     7FIELD    exp_id,      exposure ID,   value,   rawImfile.php,  exp_id=$exp_id
     8FIELD    telescope,   Telescope
    99FIELD    camera,      Camera
    1010FIELD    exp_type,    Type   
  • trunk/ippMonitor/def/rawImfile.d

    r8984 r9003  
    77RESTRICT class_id
    88
    9 #        field        name           link to         extras
     9#        field        name           show   link to         extras
    1010FIELD    exp_id,      Exposure ID
    1111FIELD    class,       Class
  • trunk/ippMonitor/def/rawScienceExp.d

    r8984 r9003  
    44MENU  ipp.copy.dat
    55
    6 #        field        name           link to         extras
    7 FIELD    exp_id,      exposure ID,   rawImfile.php,  exp_id=$exp_id,camera=$camera,foo=bar
    8 FIELD    telescope,   Telescope,     telescopes.php
     6#        field        name           show    link to         extras
     7FIELD    exp_id,      exposure ID,   value,   rawImfile.php,  exp_id=$exp_id,camera=$camera,foo=bar
     8FIELD    telescope,   Telescope,     value,  telescopes.php
    99FIELD    camera,      Camera
    1010FIELD    exp_type,    Type   
  • trunk/ippMonitor/def/summitExp.d

    r8984 r9003  
    11TABLE summitExp
    2 TITLE Summit Exposures
     2TITLE Pending Summit Exposures
    33FILE  summitExp.php
    44MENU  ipp.copy.dat
    55
    6 #        field        name           link to         extras
    7 FIELD    exp_id,        exposure ID
    8 FIELD    camera,        camera
    9 FIELD    telescope,     telescope
    10 FIELD    exp_type,      type
    11 FIELD    uri,           URI
     6#        field        name           show    link to         extras
     7FIELD    exp_id,      exposure ID
     8FIELD    camera,      camera
     9FIELD    telescope,   telescope
     10FIELD    exp_type,    type
     11FIELD    uri,         URI
  • trunk/ippMonitor/generate

    r8984 r9003  
    3939        # list of the table fields
    4040        if ($key eq "FIELD") {
    41             ($field, $name, $link, $extras) = split (/,\s+/, $value, 4);
     41            ($field, $name, $show, $link, $extras) = split (/,\s+/, $value, 5);
    4242            # ($field) = $field =~ m|\s*(\S+)\s*|;
    4343
    44             if ($VERBOSE) { printf "%-20s %-20s %-20s %-20s\n", $field, $name, $link, $extras; }
     44            if ($VERBOSE) { printf "%-20s %-20s %-20s %-20s %-20s\n", $field, $name, $show, $link, $extras; }
     45            if ($show eq "") {$show = "value";}
    4546            push @field,   $field;
    4647            push @name,    $name;
     48            push @show,    $show;
    4749            push @link,    $link;
    4850            push @extras,  $extras;
     51        }
     52
     53        # list of the table fields
     54        if ($key eq "BODY.HTML") {
     55            push @bodyhtml, $value;
     56        }
     57
     58        # list of the table fields
     59        if ($key eq "TAIL.HTML") {
     60            push @tailhtml, $value;
    4961        }
    5062
     
    6577    &check_key ("TITLE", "");
    6678    &check_key ("FILE", "");
     79   
     80    # these are used internally (not just a replacement)
     81    for ($i = 0; $i < @key; $i++) {
     82        if ($key[$i] eq "MENU") { $MENU = $value[$i]; }
     83    }
    6784
    6885    # define query string, add to keypairs
    6986    &define_query_fields;
     87
     88    if (0) {
     89        print STDERR "show: $show[0]\n";
     90        ($a, $b, $c) = &parse_label ($show[0]);
     91        print STDERR "a: $a, b: $b, c: $c\n";
     92
     93        print STDERR "extras: $extras[0]\n";
     94        ($a, $b, $c) = &parse_label ($extras[0]);
     95        print STDERR "a: $a, b: $b, c: $c\n";
     96
     97        print STDERR "show: $show[1]\n";
     98        ($a, $b, $c) = &parse_label ($show[1]);
     99        print STDERR "a: $a, b: $b, c: $c\n";
     100
     101        print STDERR "extras: $extras[1]\n";
     102        ($a, $b, $c) = &parse_label ($extras[1]);
     103        print STDERR "a: $a, b: $b, c: $c\n";
     104        exit 0;
     105    }
    70106}
    71107
     
    102138            &write_table_restrict;
    103139        }
     140
     141        # fill in body HTML
     142        if ($line =~ m|// \*\* BODY HTML \*\*|) {
     143            &write_body_html;
     144        }
     145
     146        # fill in tail HTML
     147        if ($line =~ m|// \*\* TAIL HTML \*\*|) {
     148            &write_tail_html;
     149        }
    104150    }
    105151    close (FILE);
    106152}
    107153
     154sub write_body_html {
     155    my ($i);
     156
     157    if (@bodyhtml == 0) { return; }
     158    printf FILE "?>\n";
     159   
     160    for ($i = 0; $i < @bodyhtml; $i++) {
     161        printf FILE "$bodyhtml[$i]\n";
     162    }
     163    printf FILE "<?\n";
     164}
     165
     166sub write_tail_html {
     167    my ($i);
     168
     169    if (@tailhtml == 0) { return; }
     170    printf FILE "?>\n";
     171   
     172    for ($i = 0; $i < @tailhtml; $i++) {
     173        printf FILE "$tailhtml[$i]\n";
     174    }
     175    printf FILE "<?\n";
     176}
     177
    108178sub write_table_header {
    109179
    110180    for ($i = 0; $i < @field; $i++) {
     181        if ($show[$i] eq "none")  { next; }
    111182        printf FILE "echo \"<th class=\\\"list\\\"> $name[$i] </th>\\n\";\n";
    112183    }
     
    129200
    130201sub write_table_data {
     202    my ($i);
     203    my ($label, $value, $string);
    131204
    132205    for ($i = 0; $i < @field; $i++) {
     206        ($label, $value, $string) = &parse_label ($show[$i]);
     207
    133208        # create the link variable if this entry should be linked
    134         if ($link[$i]) {
     209        if ($label eq "none")  { next; }
     210
     211        if (($label eq "value") && !$link[$i]) {
     212            # print value without link or image
     213            if (! $value) { $value = "\$row[$i]"; }
     214            print FILE "  echo \"<td class=\\\"list\\\"> $value </td>\\n\";\n";
     215            next;
     216        }
     217
     218        if (($label eq "value") && $link[$i]) {
     219            # create the basic link variable
     220            printf FILE "  \$link = \"$link[$i]\" . \"?menu=$MENU&\" . \$ID['link'];\n";
     221            # add extra GET data to target
     222            if ($extras[$i]) { &parse_extras ($extras[$i]); }
     223            # print the actual table cell line with the link...
     224            if (! $value) { $value = "\$row[$i]"; }
     225            printf FILE "  echo \"<td class=\\\"list\\\"><a href=\\\"\$link\\\"> $value </a></td>\\n\";\n";
     226            next;
     227        }
     228
     229        if (($label eq "image") && !$link[$i]) {
     230            # print the actual table cell line with the image...
     231            printf FILE "  echo \"<td class=\\\"list\\\"><img src=\\\"$value\\\"></td>\\n\";\n";
     232            next;
     233        }
     234
     235        if (($label eq "image") && $link[$i]) {
    135236            # create the basic link
    136             printf FILE "  \$link = \"$link[$i]\" . \"?\" . \$ID['link'];\n";
    137             if ($extras[$i]) {
    138                 # examine the extras and parse the embedded fields
    139                 @extfields = split (/,/, $extras[$i]);
    140                 $N = @extfields;
    141                 if ($VERBOSE) { print STDERR "N extfields: $N\n"; }
    142                 for ($j = 0; $j < @extfields; $j++) {
    143 
    144                     # search for embedded table fields and replace with row[N]
    145                     $N = -1;
    146                     $extline = $extfields[$j];
    147                     if ($VERBOSE) { print STDERR "extfield: $extfields[$j]\n"; }
    148                     for ($k = 0; ($k < @field) && ($N == -1); $k++) {
    149                         if ($extline =~ m|\$$field[$k]|) {
    150                             $extline =~ s|\$$field[$k]||;
    151                             $N = $k;
    152                         }
    153                     }
    154                     if ($N == -1) {
    155                         # no embedded field, print verbatim
    156                         printf FILE "  \$link = \$link . \"&$extline\";\n";
    157                     } else {
    158                         # replace embedded field with row[N]
    159                         printf FILE "  \$link = \$link . \"&$extline\" . \$row[$N];\n";
    160                     }
    161                 }
    162 
    163             }
     237            printf FILE "  \$link = \"$link[$i]\" . \"?menu=$MENU&\" . \$ID['link'];\n";
     238            # add extra php data to target
     239            if ($extras[$i]) { &parse_extras ($extras[$i]); }
    164240            # print the actual table cell line with the link...
    165             printf FILE "  echo \"<td class=\\\"list\\\"><a href=\\\"\$link\\\"> \$row[$i] </a></td>\\n\";\n";
    166         } else {
    167             # or without
    168             printf FILE "  echo \"<td class=\\\"list\\\"> \$row[$i] </td>\\n\";\n";
     241            printf FILE "  echo \"<td class=\\\"list\\\"><a href=\\\"\$link\\\"> <img src=\\\"$value\\\"> </a></td>\\n\";\n";
     242            next;
    169243        }
    170244    }
     
    174248
    175249    for ($i = 0; $i < @field; $i++) {
     250        if ($show[$i] eq "none")  { next; }
    176251        printf FILE "echo \"<td class=\\\"list\\\"> <input type=\\\"text\\\" name=\\\"$field[$i]\\\"> </td>\\n\";\n";
    177252    }
     
    186261 
    187262    set_keypair ("FIELDS", $FIELDS);
     263}
     264
     265sub parse_extras {
     266    my ($extras) = $_[0];
     267    my (@extfields);
     268    my ($label, $value, $outline);
     269    my ($i);
     270
     271    # examine the extras and parse the embedded fields (comma-separated)
     272    @extfields = split (/,/, $extras);
     273    for ($i = 0; $i < @extfields; $i++) {
     274        ($label, $value, $outline) = &parse_label ($extfields[$i]);
     275        printf FILE "  \$link = \$link . \"&$outline\";\n";
     276    }
     277}
     278
     279# parse strings of the form label=value
     280# if 'value' is of the form $field, try to match with
     281# a supplied DB field, and replace with $row[$n] if found
     282sub parse_label {
     283    my ($string) = $_[0];
     284    my ($label, $value, $outline);
     285    my ($N, $i);
     286
     287    # unless we replace the value with the db row element, return the original string
     288    $outline = $string;
     289    $label = $string;
     290    $value = "";
     291
     292    # search for embedded table fields and replace with row[N]
     293    if ($VERBOSE) { print STDERR "string: $string\n"; }
     294    if ($string =~ m|\S+=\S+|) {
     295        ($label, $value) = $string =~ m|(\S+)=(\S+)|;
     296        if ($value =~ m|^\$|) {
     297          MATCH_LABEL:
     298            for ($i = 0; $i < @field; $i++) {
     299                if ($value =~ m|^\$$field[$i]|) {
     300                    $value = "\$row[$i]";
     301                    last MATCH_LABEL;
     302                }
     303            }
     304            $outline = "$label=$value";
     305        }
     306    }
     307    return ($label, $value, $outline);
    188308}
    189309
  • trunk/ippMonitor/raw/ipp.copy.dat

    r8984 r9003  
    2424menutop   | menutop      | plain   | &nbsp;                       |
    2525menulink  | menuselect   | link    | Summit Exp                   | summitExp.php                         
     26menulink  | menuselect   | link    | Copy Pending Exp             | pzPendingExp.php             
    2627menulink  | menuselect   | link    | New Exp                      | newExp.php                   
    27 menulink  | menuselect   | link    | Copy Pending Exp             | pzPendingExp.php             
    2828menulink  | menuselect   | link    | Raw Detrend Exp              | rawDetrendExp.php             
    2929menulink  | menuselect   | link    | Raw Science Exp              | rawScienceExp.php             
  • trunk/ippMonitor/raw/ipp.detrend.dat

    r8984 r9003  
    2525menulink  | menuselect   | link    | Det Run                      | detRun.php                   
    2626menulink  | menuselect   | link    | Det Run Summary              | detRunSummary.php             
    27 menulink  | menuselect   | link    | Det Master Frame             | detMasterFrame.php           
    2827menulink  | menuselect   | link    | Det Input Exp                | detInputExp.php                   
    2928menulink  | menuselect   | link    | Det Resid Exp                | detResidExp.php                       
  • trunk/ippMonitor/raw/ipp.php

    r8984 r9003  
    7878    $ID['pass'] = $_GET[pass];
    7979    $ID['proj'] = $_GET[proj];
     80    $ID['menu'] = $_GET[menu];
    8081    // echo "using GET: ", $ID['pass'], $ID['proj'];
    8182  }
     
    8384    $ID['pass'] = $_POST[pass];
    8485    $ID['proj'] = $_POST[proj];
     86    $ID['menu'] = $_POST[menu];
    8587    // echo "using POST: ", $ID['pass'], $ID['proj'];
    8688  }
Note: See TracChangeset for help on using the changeset viewer.