IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2008, 9:41:11 AM (18 years ago)
Author:
bills
Message:

minor tweaks to the prototype web interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/web/request.php

    r17892 r18238  
    4141
    4242// Initialize the request variables that we depend upon
    43 $rvar_project="gpc1";
     43$rvar_project="simtest";
    4444
    4545$rvar_user_tag="";
     
    231231    $cmd .= " -project $rvar_project";
    232232
    233     if ($making_stamps) {
    234         if (!$rvar_user_tag) {
     233    if (!$rvar_user_tag) {
     234        if ($making_stamps) {
    235235            throw new Exception('Stamp Name must be specified.');
    236236        }
    237         $cmd .= " -user_tag $rvar_user_tag";
     237        $cmd .= " -stamp_name temp_tag";
     238    } else {
     239        $cmd .= " -stamp_name $rvar_user_tag";
    238240    }
    239241
     
    292294            throw new Exception("must specify Class ID with Image Type $rvar_img_type.");
    293295        }
    294         $cmd .= " $rvar_class_id";
     296        if ($rvar_class_id = "all") {
     297            $cmd .= " null";
     298        } else {
     299            $cmd .= " $rvar_class_id";
     300        }
    295301    }
    296302
     
    488494    <tr><td><b>Project:</b>&nbsp;&nbsp;&nbsp;</td>
    489495        <td><select name="project">
    490             <option>gpc1
     496<!--            <option>gpc1 -->
     497            <option>simtest
    491498        </td>
    492499    </tr>
     
    667674<?php
    668675  else: ?>
    669     <td><input type=submit value="Get Status"></td>
     676    <td><input type=submit value="Check Status"></td>
     677<!---    <td><input type=submit value="Cancel"></td> --->
    670678<?php
    671679  echo "<td><b>Request Id: $request_id";
Note: See TracChangeset for help on using the changeset viewer.