3 * SourceForge Generic Tracker facility
5 * SourceForge: Breaking Down the Barriers to Open Source Development
6 * Copyright 1999-2001 (c) VA Linux Systems
7 * http://sourceforge.net
11 echo $ath->header(array ('title'=>_('Detail').': '.$ah->getID(). ' '.util_unconvert_htmlspecialchars($ah->getSummary()),'atid'=>$ath->getID()));
16 <h1>[#<?php echo $ah->getID(); ?>] <?php echo util_unconvert_htmlspecialchars($ah->getSummary()); ?></h1>
18 <form action="<?php echo getStringFromServer('PHP_SELF'); ?>?group_id=<?php echo $group_id; ?>&atid=<?php echo $ath->getID(); ?>" method="post" enctype="multipart/form-data">
20 <?php if (session_loggedin()) { ?>
21 <table cellpadding="0" width="100%">
25 if ($ah->isMonitoring()) {
33 <a href="index.php?group_id='.$group_id.'&artifact_id='.$ah->getID().'&atid='.$ath->getID().'&func=monitor"><strong>'.
34 html_image('ic/'.$img.'','20','20',array()).' '.$key.'</strong></a>';
35 ?> <a href="javascript:help_window('<?php echo util_make_url ('/help/tracker.php?helpname=monitor'); ?>')"><strong>(?)</strong></a>
38 <input type="submit" name="submit" value="<?php echo _('Save Changes') ?>" />
43 <table border="0" width="80%">
45 <td><strong><?php echo _('Date') ?>:</strong><br /><?php echo date( _('Y-m-d H:i'), $ah->getOpenDate() ); ?></td>
46 <td><strong><?php echo _('Priority') ?>:</strong><br /><?php echo $ah->getPriority(); ?></td>
50 <td><strong><?php echo _('State') ?>:</strong><br /><?php echo $ah->getStatusName(); ?></td>
55 <strong><?php echo _('Submitted by') ?>:</strong><br />
56 <?php echo $ah->getSubmittedRealName();
57 if($ah->getSubmittedBy() != 100) {
58 $submittedUnixName = $ah->getSubmittedUnixName();
59 $submittedBy = $ah->getSubmittedBy();
61 (<tt><?php echo util_make_link_u ($submittedUnixName,$submittedBy,$submittedUnixName); ?></tt>)
64 <td><strong><?php echo _('Assigned to') ?>:</strong><br />
65 <?php echo $ah->getAssignedRealName(); ?> (<?php echo $ah->getAssignedUnixName(); ?>)</td>
69 $ath->renderExtraFields($ah->getExtraFieldData(),true,'none',false,'Any','',false,'DISPLAY');
70 $ath->renderRelatedTasks($group, $ah);
71 $ath->renderFiles($group_id, $ah);
74 <tr><td colspan="2"><strong><?php echo _('Summary') ?>:</strong><br /><?php echo $ah->getSummary(); ?></td></tr>
78 <?php echo $ah->showDetails(); ?>
81 <script type="text/javascript" src="<?php echo util_make_uri('/tabber/tabber.js') ?>"></script>
83 <div id="tabber" class="tabber">
84 <div class="tabbertab" title="<?php echo _('Followups'); ?>">
85 <table border="0" width="80%">
87 <?php if ($ath->allowsAnon() || session_loggedin()) { ?>
88 <input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>" />
89 <input type="hidden" name="func" value="postmod" />
90 <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
91 <input type="hidden" name="artifact_id" value="<?php echo $ah->getID(); ?>" />
93 <strong><?php echo _('Add A Comment') ?>:</strong>
94 <?php echo notepad_button('document.forms[1].details') ?><br />
95 <textarea name="details" rows="10" cols="60"></textarea>
100 <h2><?php echo _('Followup') ?></h2>
102 echo $ah->showMessages();
107 <div class="tabbertab" title="<?php echo _('Attachments'); ?>">
108 <table border="0" width="80%">
110 <?php if (session_loggedin() && ($ah->getSubmittedBy() == user_getid())) { ?>
111 <strong><?php echo _('Attach Files'); ?></strong><br />
112 <input type="file" name="input_file[]" size="30" /><br />
113 <input type="file" name="input_file[]" size="30" /><br />
114 <input type="file" name="input_file[]" size="30" /><br />
115 <input type="file" name="input_file[]" size="30" /><br />
116 <input type="file" name="input_file[]" size="30" /><br />
119 <h2><?php echo _('Attached Files') ?>:</h2>
122 // print a list of files attached to this Artifact
124 $file_list =& $ah->getFiles();
126 $count=count($file_list);
131 $title_arr[]=_('Name');
132 $title_arr[]=_('Download');
133 echo $GLOBALS['HTML']->listTableTop ($title_arr);
134 for ($i=0; $i<$count; $i++) {
135 echo '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'>
136 <td>'. htmlspecialchars($file_list[$i]->getName()) .'</td>
137 <td>'.util_make_link ('/tracker/download.php/'.$group_id.'/'.$ath->getID().'/'.$ah->getID().'/'.$file_list[$i]->getID().'/'.$file_list[$i]->getName(),_('Download')).'</td>
140 echo $GLOBALS['HTML']->listTableBottom();
143 echo _('No Files Currently Attached');
149 <div class="tabbertab" title="<?php echo _('Commits'); ?>" >
150 <table border="0" width="80%">
152 $hookParams['artifact_id']=$aid;
153 plugin_hook("artifact_extra_detail",$hookParams);
157 <div class="tabbertab" title="<?php echo _('Changes'); ?>">
158 <table border="0" width="80%">
161 <h2><?php echo _('Changes') ?>:</h2>
164 echo $ah->showHistory();
171 <?php $ah->showRelations(); ?>
176 $ath->footer(array());
180 // c-file-style: "bsd"