예제 #1
0
파일: search.php 프로젝트: reeze/web-bugs
/>Descending
   </small>
   <br /><br />
   <input type="hidden" name="cmd" value="display" />
   <label for="submit" accesskey="r">Sea<span class="accesskey">r</span>ch:</label>
   <input id="submit" type="submit" value="Search" />
  </td>
</tr>
<tr valign="top">
  <th>Status</th>
  <td style="white-space: nowrap">
   <label for="status" accesskey="n">Retur<span class="accesskey">n</span> bugs
   with <b>status</b></label>
  </td>
  <td><select id="status" name="status"><?php 
show_state_options($status);
?>
</select></td>
</tr>
<tr valign="top">
  <th>Type</th>
  <td style="white-space: nowrap">
   <label for="bug_type">Return bugs with <b>type</b></label>
  </td>
  <td><select id="bug_type" name="bug_type"><?php 
show_type_options($bug_type, true);
?>
</select></td>
</tr>
<tr valign="top">
  <th>Project</th>
예제 #2
0
파일: bug.php 프로젝트: phpsource/web-bugs
    }
    ?>

<?php 
    if ($show_bug_info) {
        ?>

		<tr>
			<th class="details">Status:</th>
			<td <?php 
        echo $edit != 1 ? 'colspan="3"' : '';
        ?>
>
				<select name="in[status]">
					<?php 
        show_state_options(isset($_POST['in']) && isset($_POST['in']['status']) ? $_POST['in']['status'] : '', $edit, $bug['status'], $bug['assign']);
        ?>
				</select>

<?php 
        if ($edit == 1) {
            ?>
			</td>
			<th class="details">Assign to:</th>
			<td>
				<input type="text" size="10" maxlength="16" name="in[assign]" value="<?php 
            echo field('assign');
            ?>
" id="assigned_user">
<?php 
        }
예제 #3
0
파일: bug.php 프로젝트: stof/pearweb
        </tr>
<?php 
    }
    // if ($edit == 1 && auth_check('pear.dev'))
    ?>

     <tr>
      <th>Status:</th>
      <td <?php 
    echo $edit != 1 ? 'colspan="3"' : '';
    ?>
>
       <select name="in[status]">
        <?php 
    $status = isset($_POST['in']) && isset($_POST['in']['status']) ? $_POST['in']['status'] : '';
    show_state_options($status, $edit, $bug['status']);
    ?>
       </select><br />
<?php 
    if ($bug['modified']) {
        if ($edit == 1 && auth_check('pear.dev')) {
            ?>
           <input type="datetime" id="ts2" name="in[ts2]" value="<?php 
            print date("c", $bug['modified']);
            ?>
" />
           <script type="text/javascript">$("ts2").dtpicker();</script>
    <?php 
        } else {
            echo format_date($bug['modified']);
        }