Are you trying to put it under the email or next to it?
If you want to put it next to it you'll have to edit the whole table to accommodate the new .
To put it under, however, you should just have to copy:
<?php
if($cfg->allowPriorityChange() && ($priorities=Priority:())) { ?>
<tr>
<td>Ticket Priority:</td>
<td>
<select id="priority" name="priorityId">
<?php
if(!$info)
$info = $cfg->getDefaultPriorityId(); //System default.
foreach($priorities as $id =>$name) {
echo sprintf('<option value="%d" %s>%s</option>',
$id, ($info==$id)?'selected="selected"':'', $name);
}
?>
</select>
<font class="error"> <?php echo $errors; ?></font>
</td>
</tr>
<?php
}
?>
And move it just below:
<tr>
<th class="required" width="160">Email Address:</th>
<td>
<?php
if($thisclient && $thisclient->isValid()) {
echo $thisclient->getEmail();
} else { ?>
<input id="email" type="text" name="email" size="30" value="<?php echo $info; ?>">
<font class="error">* <?php echo $errors; ?></font>
<?php
} ?>
</td>
</tr>
So it looks like you grabbed just a bit too much and missed just the tail end.