[evolvis-commits] r6798: Updated file for the feature request "[#584] Tasks abonnieren"
papel at evolvis.org
papel at evolvis.org
Thu Jul 8 10:22:44 CEST 2010
Author: papel
Date: 2010-07-08 10:22:44 +0200 (Thu, 08 Jul 2010)
New Revision: 6798
Modified:
branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/browse_task.php
branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/detail_task.php
branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/mod_task.php
Log:
Updated file for the feature request "[#584] Tasks abonnieren"
Modified: branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/browse_task.php
===================================================================
--- branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/browse_task.php 2010-07-05 07:32:01 UTC (rev 6797)
+++ branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/browse_task.php 2010-07-08 08:22:44 UTC (rev 6798)
@@ -15,8 +15,7 @@
Total rewrite in OO and GForge coding guidelines 12/2002 by Tim Perdue
Code rewrites for new requirements by Umer Kayani (u.kayani at tarent.de) 2010.
*/
-
-
+$u =& session_get_user();
//Preselect columns (added in session) only done on first loading of page.
if (isset( $_GET['firstTime'])) {
$u->setPreference('start_date', true);
@@ -418,6 +417,7 @@
);
$title_arr=array();
+ $title_arr[]= '';
$title_arr[]=_('Task Id');
if ($display_col['summary'])
$title_arr[]=_('Task Summary');
@@ -484,14 +484,17 @@
}
}
+ $rssIco = html_image('ic/rss.png',16,16,array('border'=>'0'));
+ $link = '<a href="'.util_make_url('/export/rssAboTask.php?project_task_id='.$pt_arr[$i]->getID().'&group_project_id='.$group_project_id.'&group_id='.$group_id).'" target="_blank">'.$rssIco.'</a>';
+
echo '
<tr class=" '. (($pt_arr[$i]->getStatusId() == 7)? ' copyAndClosed ' : ' priority'.$pt_arr[$i]->getPriority()) .'">'.
+ '<td style="background-color:#ffffff">'.$link.'</td>'.
'<td>'.
($IS_ADMIN?'<input type="CHECKBOX" '. (($pt_arr[$i]->getStatusId() == 7)? 'DISABLED onclick="return false;"':' ') .' name="project_group_id_list[]" style="display:none;" value="'. $task_group_project_id .'"> ':'').
($IS_ADMIN?'<input type="CHECKBOX" '. (($pt_arr[$i]->getStatusId() == 7)? ' DISABLED onclick="return false;"':' ') .' name="project_task_id_list[]" value="'. $pt_arr[$i]->getID() .'"> ':'').
$pt_arr[$i]->getID() .'</td>';
-
if ($display_col['summary'])
echo '<td><a href="'.$url.'">'.$pt_arr[$i]->getSummary() .'</a></td>';
if ($display_col['start_date'])
@@ -626,7 +629,9 @@
}
echo '</td></tr>';
echo $GLOBALS['HTML']->listTableBottom();
+
+
if ($IS_ADMIN) {
/*
creating a custom technician box which includes "No Change" and "Nobody"
Modified: branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/detail_task.php
===================================================================
--- branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/detail_task.php 2010-07-05 07:32:01 UTC (rev 6797)
+++ branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/detail_task.php 2010-07-08 08:22:44 UTC (rev 6798)
@@ -68,10 +68,17 @@
</tr>
<tr>
- <td colspan="2">
+ <td>
<strong><?php echo _('Task Summary') ?>:</strong><br />
<?php echo $pt->getSummary(); ?>
</td>
+ <td>
+ <?php
+ $rssIco = html_image('ic/rss.png',16,16,array('border'=>'0'));
+ $link = '<a href="'.util_make_url('/export/rssAboTask.php?project_task_id='.$project_task_id.'&group_project_id='.$group_project_id.'&group_id='.$group_id).'" target="_blank">'.$rssIco.' '._('Subcribe to task').'</a>';
+ echo $link;
+ ?>
+ </td>
</tr>
<tr>
Modified: branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/mod_task.php
===================================================================
--- branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/mod_task.php 2010-07-05 07:32:01 UTC (rev 6797)
+++ branches/Changes-to-status-field-gforge-4.8.1+evolvis/www/pm/mod_task.php 2010-07-08 08:22:44 UTC (rev 6798)
@@ -127,9 +127,16 @@
<strong><?php echo _('Task Summary') ?>:</strong><br />
<input type="text" name="summary" size="40" maxlength="65" value="<?php echo $pt->getSummary(); ?>" />
</td>
- <td colspan="2">
+ <td>
<a href="<?php echo getStringFromServer('PHP_SELF')."?func=deletetask&project_task_id=$project_task_id&group_id=$group_id&group_project_id=$group_project_id"; ?>"><?php echo _('Delete this task') ?></a>
</td>
+ <td>
+ <?php
+ $rssIco = html_image('ic/rss.png',16,16,array('border'=>'0'));
+ $link = '<a href="'.util_make_url('/export/rssAboTask.php?project_task_id='.$project_task_id.'&group_project_id='.$group_project_id.'&group_id='.$group_id).'" target="_blank">'.$rssIco.' '._('Subcribe to task').'</a>';
+ echo $link;
+ ?>
+ </td>
</tr>
<tr>
More information about the evolvis-commits
mailing list