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
12 ('title' => _('Detail').': [#'.$ah->getID(). '] '
13 . util_unconvert_htmlspecialchars($ah->getSummary()),
14 'atid'=>$ath->getID()));
19 <h1>[#<?php echo $ah->getID(); ?>] <?php echo util_unconvert_htmlspecialchars($ah->getSummary()); ?></h1>
21 <form id="trackerdetailform" action="<?php echo getStringFromServer('PHP_SELF'); ?>?group_id=<?php echo $group_id; ?>&atid=<?php echo $ath->getID(); ?>" method="post" enctype="multipart/form-data">
23 <?php if (session_loggedin()) { ?>
24 <table cellpadding="0" width="100%">
28 if ($ah->isMonitoring()) {
36 <a href="index.php?group_id='.$group_id.'&artifact_id='.$ah->getID().'&atid='.$ath->getID().'&func=monitor"><strong>'.
37 html_image('ic/'.$img.'','20','20',array()).' '.$key.'</strong></a>';
38 ?> <a href="javascript:help_window('<?php echo util_make_url ('/help/tracker.php?helpname=monitor'); ?>')"><strong>(?)</strong></a>
41 <input type="submit" name="submit" value="<?php echo _('Save Changes') ?>" />
46 <table border="0" width="80%">
48 <td><strong><?php echo _('Date') ?>:</strong><br /><?php echo date( _('Y-m-d H:i'), $ah->getOpenDate() ); ?></td>
49 <td><strong><?php echo _('Priority') ?>:</strong><br /><?php echo $ah->getPriority(); ?></td>
53 <td><strong><?php echo _('State') ?>:</strong><br /><?php echo $ah->getStatusName(); ?></td>
58 <strong><?php echo _('Submitted by') ?>:</strong><br />
59 <?php echo $ah->getSubmittedRealName();
60 if($ah->getSubmittedBy() != 100) {
61 $submittedUnixName = $ah->getSubmittedUnixName();
62 $submittedBy = $ah->getSubmittedBy();
64 (<tt><?php echo util_make_link_u ($submittedUnixName,$submittedBy,$submittedUnixName); ?></tt>)
67 <td><strong><?php echo _('Assigned to') ?>:</strong><br />
68 <?php echo $ah->getAssignedRealName(); ?> (<?php echo $ah->getAssignedUnixName(); ?>)</td>
72 $ath->renderExtraFields($ah->getExtraFieldData(),true,'none',false,'Any','',false,'DISPLAY');
73 $ath->renderRelatedTasks($group, $ah);
74 $ath->renderFiles($group_id, $ah);
77 <tr><td colspan="2"><strong><?php echo _('Summary') ?>:</strong><br /><?php echo $ah->getSummary(); ?></td></tr>
81 <?php echo $ah->showDetails(); ?>
84 <script type="text/javascript" src="<?php echo util_make_uri('/tabber/tabber.js') ?>"></script>
86 <div id="tabber" class="tabber">
87 <div class="tabbertab" title="<?php echo _('Followups'); ?>">
88 <table border="0" width="80%">
90 <?php if ($ath->allowsAnon() || session_loggedin()) { ?>
91 <input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>" />
92 <input type="hidden" name="func" value="postmod" />
93 <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
94 <input type="hidden" name="artifact_id" value="<?php echo $ah->getID(); ?>" />
96 <strong><?php echo _('Add A Comment') ?>:</strong>
97 <?php echo notepad_button('document.forms.trackerdetailform.details') ?><br />
98 <textarea name="details" rows="10" cols="60"></textarea>
103 <h2><?php echo _('Followup') ?></h2>
105 echo $ah->showMessages();
110 <div class="tabbertab" title="<?php echo _('Attachments'); ?>">
111 <table border="0" width="80%">
113 <?php if (session_loggedin() && ($ah->getSubmittedBy() == user_getid())) { ?>
114 <strong><?php echo _('Attach Files'); ?></strong><br />
115 <input type="file" name="input_file0" size="30" /><br />
116 <input type="file" name="input_file1" size="30" /><br />
117 <input type="file" name="input_file2" size="30" /><br />
118 <input type="file" name="input_file3" size="30" /><br />
119 <input type="file" name="input_file4" size="30" /><br />
122 <h2><?php echo _('Attached Files') ?>:</h2>
125 // print a list of files attached to this Artifact
127 $file_list =& $ah->getFiles();
129 $count=count($file_list);
134 $title_arr[]=_('Name');
135 $title_arr[]=_('Download');
136 echo $GLOBALS['HTML']->listTableTop ($title_arr);
137 for ($i=0; $i<$count; $i++) {
138 echo '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'>
139 <td>'. htmlspecialchars($file_list[$i]->getName()) .'</td>
140 <td>'.util_make_link ('/tracker/download.php/'.$group_id.'/'.$ath->getID().'/'.$ah->getID().'/'.$file_list[$i]->getID().'/'.$file_list[$i]->getName(),_('Download')).'</td>
143 echo $GLOBALS['HTML']->listTableBottom();
146 echo _('No Files Currently Attached');
152 <div class="tabbertab" title="<?php echo _('Commits'); ?>" >
153 <table border="0" width="80%">
155 $hookParams['artifact_id']=$aid;
156 plugin_hook("artifact_extra_detail",$hookParams);
160 <div class="tabbertab" title="<?php echo _('Changes'); ?>">
161 <table border="0" width="80%">
164 <h2><?php echo _('Changes') ?>:</h2>
167 echo $ah->showHistory();
174 <?php $ah->showRelations(); ?>
179 $ath->footer(array());
183 // c-file-style: "bsd"