* Copyright 1999-2001 (c) VA Linux Systems
* http://sourceforge.net
*
- * @version $Id$
*/
-$ath->header(array ('title'=>_('Modify').': '.$ah->getID(). ' - ' . $ah->getSummary(),'atid'=>$ath->getID()));
+$ath->header(array
+ ('title' => _('Modify').' [#'.$ah->getID(). '] '
+ . util_unconvert_htmlspecialchars($ah->getSummary()),
+ 'atid'=>$ath->getID()));
+
+echo notepad_func();
?>
- <h3>[#<?php echo $ah->getID(); ?>] <?php echo $ah->getSummary(); ?></h3>
+ <h1>[#<?php echo $ah->getID(); ?>] <?php echo $ah->getSummary(); ?></h1>
- <form action="<?php echo getStringFromServer('PHP_SELF'); ?>?group_id=<?php echo $group_id; ?>&atid=<?php echo $ath->getID(); ?>" METHOD="post" enctype="multipart/form-data">
+ <form action="<?php echo getStringFromServer('PHP_SELF'); ?>?group_id=<?php echo $group_id; ?>&atid=<?php echo $ath->getID(); ?>" enctype="multipart/form-data" method="post">
<input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>" />
<input type="hidden" name="func" value="postmod" />
+ <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
<input type="hidden" name="artifact_id" value="<?php echo $ah->getID(); ?>" />
<table width="80%">
<td><?php
if ($ah->isMonitoring()) {
$img="xmail16w.png";
- $key="stop_monitoring";
+ $key="monitorstop";
} else {
$img="mail16w.png";
$key="monitor";
echo '
<a href="index.php?group_id='.$group_id.'&artifact_id='.$ah->getID().'&atid='.$ath->getID().'&func=monitor"><strong>'.
html_image('ic/'.$img.'','20','20',array()).' '.$key.'</strong></a>';
- ?> <a href="javascript:help_window('<?php echo util_make_url ('/help/tracker.php?helpname=monitor'); ?>')"><strong>(?)</strong></a>
+ ?> <a href="javascript:help_window('/help/tracker.php?helpname=monitor')"><strong>(?)</strong></a>
</td>
<td><?php
if ($group->usesPM()) {
<input type="submit" name="submit" value="<?php echo _('Submit') ?>" />
</td>
</tr>
- </table>
+</table>
+<p/>
<?php } ?>
<table border="0" width="80%">
</tr>
<?php
- $ath->renderExtraFields($ah->getExtraFieldData(),true);
- ?>
+ $ath->renderExtraFields($ah->getExtraFieldData(),true,'none',false,'Any','',false,'UPDATE');
+ ?>
<tr>
<td><strong><?php echo _('Assigned to')?>: <a href="javascript:help_window('<?php echo util_make_url ('/help/tracker.php?helpname=assignee'); ?>')"><strong>(?)</strong></a></strong><br />
<td>
</td>
</tr>
-
+ <?php
+ $ath->renderRelatedTasks($group, $ah);
+ $ath->renderFiles($group_id, $ah);
+ ?>
<tr>
- <td colspan="2"><strong><?php echo _('Summary')?>: <a href="javascript:help_window('<?php echo util_make_url ('/help/tracker.php?helpname=summary'); ?>')"><strong>(?)</strong></a></strong><br />
+ <td colspan="2"><strong><?php echo _('Summary')?><?php echo utils_requiredField(); ?>: <a href="javascript:help_window('/help/tracker.php?helpname=summary')"><strong>(?)</strong></a></strong><br />
<?php echo $ah->getSummary(); ?>
</td>
</tr>
<?php echo $ah->showDetails(); ?>
</td></tr>
</table>
-<script type="text/javascript" src="<?php echo util_make_url('/tabber/tabber.js') ?>"></script>
+<script type="text/javascript" src="<?php echo util_make_uri('/tabber/tabber.js') ?>"></script>
<div id="tabber" class="tabber">
<div class="tabbertab" title="<?php echo _('Followups');?>">
<table border="0" width="80%">
<tr><td colspan="2">
<br /><strong><?php echo _('OR Attach A Comment') ?>: <?php echo notepad_button('document.forms[1].details') ?> <a href="javascript:help_window('<?php echo util_make_url ('/help/tracker.php?helpname=comment'); ?>')"><strong>(?)</strong></a></strong><br />
- <textarea name="details" rows="7" cols="60"></textarea></p>
+ <textarea name="details" rows="7" cols="60"></textarea>
<p>
- <h3><?php echo _('Followup') ?>:</h3>
+ <h2><?php echo _('Followup') ?>:</h2>
<?php
echo $ah->showMessages();
?>
<table border="0" width="80%">
<tr><td colspan="2">
<?php echo _('Attach Files') ?><br />
- <input type="file" name="input_file[]" size="30" /><br />
- <input type="file" name="input_file[]" size="30" /><br />
- <input type="file" name="input_file[]" size="30" /><br />
- <input type="file" name="input_file[]" size="30" /><br />
- <input type="file" name="input_file[]" size="30" /><br />
+ <input type="file" name="input_file0" size="30" /><br />
+ <input type="file" name="input_file1" size="30" /><br />
+ <input type="file" name="input_file2" size="30" /><br />
+ <input type="file" name="input_file3" size="30" /><br />
+ <input type="file" name="input_file4" size="30" /><br />
<p>
- <h3><?php echo _('Attached Files') ?>:</h3>
+ <h2><?php echo _('Attached Files') ?>:</h2>
<?php
//
// print a list of files attached to this Artifact
for ($i=0; $i<$count; $i++) {
echo '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'>
- <td><input type="CHECKBOX" name="delete_file[]" value="'. $file_list[$i]->getID() .'">'._('Delete').' </td>
+ <td><input type="checkbox" name="delete_file[]" value="'. $file_list[$i]->getID() .'" />'._('Delete').' </td>
<td>'. htmlspecialchars($file_list[$i]->getName()) .'</td>
<td>'. htmlspecialchars($file_list[$i]->getDescription()) .'</td>
<td>'.util_make_link ('/tracker/download.php/'.$group_id.'/'. $ath->getID().'/'. $ah->getID() .'/'.$file_list[$i]->getID().'/'.$file_list[$i]->getName(),_('Download')).'</td>
}
} else {
- echo '<tr '.$GLOBALS['HTML']->boxGetAltRowStyle(0).'><td colspan=3>'._('No Files Currently Attached').'</td></tr>';
+ echo '<tr '.$GLOBALS['HTML']->boxGetAltRowStyle(0).'><td colspan="4">'._('No Files Currently Attached').'</td></tr>';
}
echo $GLOBALS['HTML']->listTableBottom();
?>
<div class="tabbertab" title="<?php echo _('Changes'); ?>">
<table border="0" width="80%">
<tr><td colspan="2">
- <h3><?php echo _('Change Log') ?>:</h3>
+ <h2><?php echo _('Change Log') ?>:</h2>
<?php
echo $ah->showHistory();
?>
</td></tr>
</table>
</div>
+<?php $ah->showRelations(); ?>
</div>
</form>
<?php