gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/my index.php,1.33,1.34


From: gsmet
Subject: [Gforge-commits] gforge/www/my index.php,1.33,1.34
Date: Wed, 27 Oct 2004 16:01:33 -0500

Update of /cvsroot/gforge/gforge/www/my
In directory db.perdue.net:/tmp/cvs-serv23680/www/my

Modified Files:
        index.php 
Log Message:
improved layout consistency in /my/ page
fixed references problem for artifacts

Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/my/index.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- index.php   8 Oct 2004 20:34:10 -0000       1.33
+++ index.php   27 Oct 2004 21:01:30 -0000      1.34
@@ -73,7 +73,7 @@
        $last_group=0;
        echo $HTML->boxTop($Language->getText('my', 'assigneditems'));
        $artifactsForUser = new ArtifactsForUser(session_get_user());
-       $assignedArtifacts = $artifactsForUser->getAssignedArtifactsByGroup();
+       $assignedArtifacts =& $artifactsForUser->getAssignedArtifactsByGroup();
        if (count($assignedArtifacts) > 0) {
                foreach($assignedArtifacts as $art) {
                        echo '</td></tr>';
@@ -88,12 +88,11 @@
                        }
                        echo '
                        <tr 
style="background-color:'.html_get_priority_color($art->getPriority()).'">
+                       <td width="10%">'.$art->getID().'</td>
                        <td><a href="/tracker/?func=detail&amp;aid='.
                        $art->getID().
                        '&amp;group_id='.$art->ArtifactType->Group->getID().
-                       '&amp;atid='.$art->ArtifactType->getID().'">'.
-                       $art->getID().'</td>
-                       <td>' . $art->getSummary();
+                       '&amp;atid='.$art->ArtifactType->getID().'">' . 
$art->getSummary() . '</a>';
 
                        $last_group = $art->ArtifactType->getID();
                }
@@ -104,7 +103,7 @@
 
        $last_group="0";
        echo $HTML->boxMiddle($Language->getText('my', 
'submitteditems'),false,false);
-       $submittedArtifacts = $artifactsForUser->getSubmittedArtifactsByGroup();
+       $submittedArtifacts =& 
$artifactsForUser->getSubmittedArtifactsByGroup();
        if (count($submittedArtifacts) > 0) {
                foreach ($submittedArtifacts as $art) {
                        echo '</td></tr>';
@@ -118,7 +117,7 @@
                        }
                        echo '
                        <tr 
style="background-color:'.html_get_priority_color($art->getPriority()).'">
-                       <td>'.$art->getID().'</td>
+                       <td width="10%">'.$art->getID().'</td>
                        <td><a href="/tracker/?func=detail&amp;aid='.
       $art->getID().
       '&amp;group_id='.$art->ArtifactType->Group->getID().
@@ -238,12 +237,11 @@
                        }
                        echo '
                        <tr 
style="background-color:'.html_get_priority_color($task->getPriority()).'">
+                       <td width="10%">'.$task->getID().'</td>
                        <td><a 
href="/pm/task.php?func=detailtask&amp;project_task_id='.
                        $task->getID().
                        '&amp;group_id='.$group->getID().
-                       '&amp;group_project_id='.$projectGroup->getID().'">'.
-                       $task->getID().'</td>
-                       <td>'.$style_begin.$task->getSummary().$style_end;
+                       
'&amp;group_project_id='.$projectGroup->getID().'">'.$style_begin.$task->getSummary().$style_end.'</a>';
 
                        $last_group = $projectGroup->getID();
                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]