[evolvis-commits] r17263: merge bm:taramir51/patches/xhtml-improvements

mirabilos at evolvis.org mirabilos at evolvis.org
Mon May 16 15:09:46 CEST 2011


Author: mirabilos
Date: 2011-05-16 15:09:46 +0200 (Mon, 16 May 2011)
New Revision: 17263

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyAdmin.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyArtifacts.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyBookmarks.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyLatestSvnCommits.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredDocuments.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredForums.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredFp.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyProjects.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MySurveys.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyTasks.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectInfo.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectPublicAreas.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/docman/index.php
Log:
merge bm:taramir51/patches/xhtml-improvements

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -49,7 +49,6 @@
 	var myThemeXPBase = "<?php echo util_make_uri ('/jscook/ThemeXP/'); ?>";
 /* ]]> */</script>
 <script type="text/javascript" src="<?php echo util_make_uri ('/jscook/JSCookTree.js'); ?>"></script>
-<link rel="stylesheet" href="<?php echo util_make_uri ('/jscook/ThemeXP/theme.css'); ?>" type="text/css" />
 <script src="<?php echo util_make_uri ('/jscook/ThemeXP/theme.js'); ?>" type="text/javascript"></script>
 
 <div id="myMenuID" style="overflow:auto;"></div>

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -89,7 +89,7 @@
 		$prefs .= '<fieldset><legend>'. _("Preferences") .'</legend>';
 		$prefs .= $this->getPreferences();
 		$prefs .= '<br />';
-		$prefs .= '<input type="submit" name="cancel" value="'. _("Cancel") .'" /> ';
+		$prefs .= '<input type="submit" name="cancel" value="'. _("Cancel") .'" /> ';
 		$prefs .= '<input type="submit" value="'. _("Submit") .'" />';
 		$prefs .= '</fieldset>';
 		$prefs .= '</form>';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyAdmin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyAdmin.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyAdmin.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -46,7 +46,7 @@
 		
 		$html_my_admin .= $this->_get_admin_row(
 			$i++, 
-			vsprintf(_('Users in <a href="%s"><B>P</B> (pending) Status</a>'), array("/admin/userlist.php?status=P")),
+			vsprintf(_('Users in <a href="%s"><b>P</b> (pending) Status</a>'), array("/admin/userlist.php?status=P")),
 			$pending_users,
 			$this->_get_color($pending_users)
 			);
@@ -54,7 +54,7 @@
 		if ($GLOBALS['sys_user_approval'] == 1) {
 			$html_my_admin .= $this->_get_admin_row(
 				$i++, 
-				vsprintf(_('Validated users <a href="%s"><B>pending email activation</B></a>'), array("/admin/approve_pending_users.php?page=validated")),
+				vsprintf(_('Validated users <a href="%s"><b>pending email activation</b></a>'), array("/admin/approve_pending_users.php?page=validated")),
 				$validated_users,
 				$this->_get_color($validated_users)
 				);
@@ -68,7 +68,7 @@
 
 		$html_my_admin .= $this->_get_admin_row(
 			$i++, 
-			vsprintf(_('Groups in <a href="%s"><B>P</B> (pending) Status</A>'), array("/admin/approve-pending.php")),
+			vsprintf(_('Groups in <a href="%s"><b>P</b> (pending) Status</a>'), array("/admin/approve-pending.php")),
 			$pending_projects,
 			$this->_get_color($pending_projects)
 			);

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyArtifacts.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyArtifacts.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyArtifacts.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -112,7 +112,7 @@
 		} else {
 			$html_my_artifacts .= _("You have no artifacts");
 		}
-		$html_my_artifacts .= '<TR><TD COLSPAN="3">'.(($this->_artifact_show == 'N' || count($my_artifacts) > 0)?' ':_("None")).'</TD></TR>';
+		$html_my_artifacts .= '<tr><td colspan="3">'.(($this->_artifact_show == 'N' || count($my_artifacts) > 0)?' ':_("None")).'</td></tr>';
 		$html_my_artifacts .= '</table>';
 		return $html_my_artifacts;
 	}
@@ -169,8 +169,8 @@
 					list($hide_now,$count_diff,$hide_url) = 
 						my_hide_url('artifact',$atid_old,$hide_item_id,$count_aids,$hide_artifact);
 					$html_hdr =  '<tr class="boxitem"><td colspan="3">' .
-						$hide_url.'<A HREF="/tracker/?group_id='.$group_id_old.'&atid='.$atid_old.'">'.
-						$group_name." - ".$tracker_name.'</A>    ';
+						$hide_url.'<a href="/tracker/?group_id='.$group_id_old.'&atid='.$atid_old.'">'.
+						$group_name." - ".$tracker_name.'</a>    ';
 					$count_new = max(0, $count_diff);
 
 					$html_hdr .= my_item_count($count_aids,$count_new).'</td></tr>';
@@ -229,13 +229,13 @@
 						}
 
 						$html .= '
-							<TR class="'.$class.'">'.
-							'<TD class="priority'.$trackers_array->getPriority().'">'.$trackers_array->getPriority().'</TD>'.
-							'<TD><A HREF="/tracker/?func=detail&group_id='.
-							$group_id.'&aid='.$aid.'&atid='.$atid.
-							'">'. stripslashes($summary).'</A></TD>'.
-							'<TD class="small">';
-						$html .= ' '.$AS_flag.'</TD></TR>';
+							<tr class="'.$class.'">'.
+							'<td class="priority'.$trackers_array->getPriority().'">'.$trackers_array->getPriority().'</td>'.
+							'<td><a href="/tracker/?func=detail&group_id='.
+							$group_id.'&aid='.$aid.'&atid='.$atid.
+							'">'. stripslashes($summary).'</a></td>'.
+							'<td class="small">';
+						$html .= ' '.$AS_flag.'</td></tr>';
 
 					}
 				}
@@ -246,8 +246,8 @@
 		if ($atid_old != 0 && $count_aids != 0) {
 			list($hide_now,$count_diff,$hide_url) = my_hide_url('artifact',$atid_old,$hide_item_id,$count_aids,$hide_artifact);
 			$html_hdr = ($j ? '<tr class="boxitem"><td colspan="3">' : '').
-				$hide_url.'<A HREF="/tracker/?group_id='.$group_id_old.'&atid='.$atid_old.'">'.
-				$group_name." - ".$tracker_name.'</A>    ';
+				$hide_url.'<a href="/tracker/?group_id='.$group_id_old.'&atid='.$atid_old.'">'.
+				$group_name." - ".$tracker_name.'</a>    ';
 			$count_new = max(0, $count_diff);
 
 			$html_hdr .= my_item_count($count_aids,$count_new).'</td></tr>';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyBookmarks.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyBookmarks.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyBookmarks.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -54,12 +54,12 @@
 		    }
 
 
-                $html_my_bookmarks .= '<TR class="'. $class .'"><TD>';
-                $html_my_bookmarks .= '<A HREF="'. db_result($result,$i,'bookmark_url') .'">'. db_result($result,$i,'bookmark_title') .'</A> ';
-                $html_my_bookmarks .= '<small><A HREF="/my/bookmark_edit.php?bookmark_id='. db_result($result,$i,'bookmark_id') .'">['._("Edit").']</A></SMALL></TD>';
-                $html_my_bookmarks .= '<td style="text-align:right"><A HREF="/my/bookmark_delete.php?bookmark_id='. db_result($result,$i,'bookmark_id');
+                $html_my_bookmarks .= '<tr class="'. $class .'"><td>';
+                $html_my_bookmarks .= '<a href="'. db_result($result,$i,'bookmark_url') .'">'. db_result($result,$i,'bookmark_title') .'</a> ';
+                $html_my_bookmarks .= '<small><a href="/my/bookmark_edit.php?bookmark_id='. db_result($result,$i,'bookmark_id') .'">['._("Edit").']</a></small></td>';
+                $html_my_bookmarks .= '<td style="text-align:right"><a href="/my/bookmark_delete.php?bookmark_id='. db_result($result,$i,'bookmark_id');
                 $html_my_bookmarks .= '" onClick="return confirm(\''._("Delete this bookmark?").'\')">';
-                $html_my_bookmarks .= '<IMG SRC="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" HEIGHT="16" WIDTH="16" BORDER="0" ALT="DELETE"></A></td></tr>';
+                $html_my_bookmarks .= '<img src="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" height="16" width="16" border="0" alt="DELETE" /></a></td></tr>';
             }
             $html_my_bookmarks .= '</table>';
         }

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyLatestSvnCommits.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyLatestSvnCommits.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyLatestSvnCommits.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -69,7 +69,7 @@
                             $html .= '<div style="padding-left:20px; padding-bottom:4px; color:#555">';
                             $html .= util_make_links(substr($data['description'], 0, 255), $project->getGroupId());
                             if (strlen($data['description']) > 255) {
-                                $html .= ' [...]';
+                                $html .= ' [...]';
                             }
                             $html .= '</div>';
                             $html .= '</div>';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredDocuments.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredDocuments.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredDocuments.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -69,8 +69,8 @@
 		list($hide_now,$count_diff,$hide_url) = my_hide_url('document',$group_id,$hide_item_id,$rows,$hide_document);
 
 		$html_hdr = ($j ? '<tr class="boxitem"><td colspan="2">' : '').
-			$hide_url.'<A HREF="/docman/?group_id='.$group_id.'">'.
-			db_result($result,$j,'group_name').'</A>    ';
+			$hide_url.'<a href="/docman/?group_id='.$group_id.'">'.
+			db_result($result,$j,'group_name').'</a>    ';
 
 		$html = '';
 		$count_new = max(0, $count_diff);
@@ -90,12 +90,12 @@
 				$docid = db_result($result2,$i,'docid');
 
 				$html .= '
-					<TR class="'. $class .'"><TD WIDTH="99%">'.
-					'   - <A HREF="/docman/?group_id='.$group_id.'&view=listfile&dirid='.$doc_group.'">'.
-					stripslashes(db_result($result2,$i,'filename')).'</A></TD>'.
-					'<TD ALIGN="center"><A HREF="/docman/?group_id='.$group_id.'&action=monitorfile&option=remove&view=listfile&dirid='.$doc_group.'&fileid='.$docid.'">'.
-					'<IMG SRC="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" HEIGHT="16" WIDTH="16" '.
-					'BORDER=0 ALT="'._("STOP MONITORING").'"></A></TD></TR>';
+					<tr class="'. $class .'"><td width="99%">'.
+					'   - <a href="/docman/?group_id='.$group_id.'&view=listfile&dirid='.$doc_group.'">'.
+					stripslashes(db_result($result2,$i,'filename')).'</a></td>'.
+					'<td align="center"><a href="/docman/?group_id='.$group_id.'&action=monitorfile&option=remove&view=listfile&dirid='.$doc_group.'&fileid='.$docid.'">'.
+					'<img src="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" height="16" width="16" '.
+					'border="0" alt="'._("STOP MONITORING").'" /></a></td></tr>';
 			}
 		}
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredForums.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredForums.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredForums.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -91,8 +91,8 @@
 		list($hide_now,$count_diff,$hide_url) = my_hide_url('forum',$group_id,$hide_item_id,$rows2,$hide_forum);
 
 		$html_hdr = ($j ? '<tr class="boxitem"><td colspan="2">' : '').
-			$hide_url.'<A HREF="/forum/?group_id='.$group_id.'">'.
-			db_result($result,$j,'group_name').'</A>    ';
+			$hide_url.'<a href="/forum/?group_id='.$group_id.'">'.
+			db_result($result,$j,'group_name').'</a>    ';
 
 		$html = '';
 		$count_new = max(0, $count_diff);
@@ -109,13 +109,13 @@
 				$group_forum_id = db_result($result2,$i,'group_forum_id');
 
 				$html .= '
-					<TR class="'. $class .'"><TD WIDTH="99%">'.
-					'   - <A HREF="/forum/forum.php?forum_id='.$group_forum_id.'">'.
-					stripslashes(db_result($result2,$i,'forum_name')).'</A></TD>'.
-					'<TD ALIGN="center"><A HREF="/my/stop_monitor.php?forum_id='.$group_forum_id.
+					<tr class="'. $class .'"><td width="99%">'.
+					'   - <a href="/forum/forum.php?forum_id='.$group_forum_id.'">'.
+					stripslashes(db_result($result2,$i,'forum_name')).'</a></td>'.
+					'<td align="center"><a href="/my/stop_monitor.php?forum_id='.$group_forum_id.
 					'" onClick="return confirm(\''._("Stop monitoring this Forum?").'\')">'.
 					'<img src="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" height="16" width="16" '.
-					'border=0 alt="'._("Stop monitoring").'"></a></td></tr>';
+					'border="0" alt="'._("Stop monitoring").'" /></a></td></tr>';
 			}
 		}
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredFp.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredFp.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyMonitoredFp.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -88,22 +88,22 @@
                 list($hide_now,$count_diff,$hide_url) = my_hide_url('frs',$group_id,$hide_item_id,$rows2,$hide_frs);
         
                 $html_hdr = ($j ? '<tr class="boxitem"><td colspan="2">' : '').
-                    $hide_url.'<A HREF="/project/?group_id='.$group_id.'">'.
-                    db_result($result,$j,'group_name').'</A>    ';
+                    $hide_url.'<a href="/project/?group_id='.$group_id.'">'.
+                    db_result($result,$j,'group_name').'</a>    ';
         
                 $html = '';
                 $count_new = max(0, $count_diff);
                 for ($i=0; $i<$rows2; $i++) {
                     if (!$hide_now) {
                         $html .='
-                        <TR class="'. util_get_alt_row_color($i) .'">'.
-                            '<TD WIDTH="99%">    - <A HREF="/file/showfiles.php?group_id='.$group_id.'">'.
-                            db_result($result2,$i,'name').'</A></TD>'.
-                            '<TD><A HREF="/file/filemodule_monitor.php?filemodule_id='.
+                        <tr class="'. util_get_alt_row_color($i) .'">'.
+                            '<td width="99%">    - <a href="/file/showfiles.php?group_id='.$group_id.'">'.
+                            db_result($result2,$i,'name').'</a></td>'.
+                            '<td><a href="/file/filemodule_monitor.php?filemodule_id='.
                             db_result($result2,$i,'filemodule_id').
                             '" onClick="return confirm(\''._("Stop Monitoring this Package?").'\')">'.
-                            '<IMG SRC="'.util_get_image_theme("ic/trash.png").'" HEIGHT="16" WIDTH="16" '.
-                            'BORDER=0" ALT="'._("STOP MONITORING").'"></A></TD></TR>';
+                            '<img src="'.util_get_image_theme("ic/trash.png").'" height="16" width="16" '.
+                            'border="0" alt="'._("STOP MONITORING").'" /></a></td></tr>';
                     }
                 }
                 

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyProjects.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyProjects.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyProjects.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -59,9 +59,9 @@
 			}
 			
 			$html_my_projects .= '
-			<TR class="'. $class .'"><TD WIDTH="99%">'.
-				'<A href="/projects/'. $g->getUnixName() .'/">'.
-				$g->getPublicName().'</A>';
+			<tr class="'. $class .'"><td width="99%">'.
+				'<a href="/projects/'. $g->getUnixName() .'/">'.
+				$g->getPublicName().'</a>';
 			
 			$isadmin = false ;
 			$role_names = array () ;
@@ -76,7 +76,7 @@
 				}
 			}
 			if ($isadmin) {
-				$html_my_projects .= ' <small><A HREF="/project/admin/?group_id='.$g->getID().'">['._("Admin").']</A></small>';
+				$html_my_projects .= ' <small><a href="/project/admin/?group_id='.$g->getID().'">['._("Admin").']</a></small>';
 			}
 			$html_my_projects .= ' <small>('.htmlspecialchars (implode (', ', $role_names)).')</small>';
 			if (!$ra->hasPermission('project_read', $g->getID())) {
@@ -84,19 +84,19 @@
 				$private_shown = true;
 			}
 			if (!$isadmin) {
-				$html_my_projects .= '</TD>'.
-					'<td><A href="rmproject.php?group_id='. $g->getID().
+				$html_my_projects .= '</td>'.
+					'<td><a href="rmproject.php?group_id='. $g->getID().
 					'" onClick="return confirm(\''._("Quit this project?").'\')">'.
-					'<IMG SRC="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" HEIGHT="16" WIDTH="16" BORDER="0"></A></TD></TR>';
+					'<img src="'.$GLOBALS['HTML']->imgroot.'ic/trash.png" height="16" width="16" border="0" /></a></td></tr>';
 			} else {
-				$html_my_projects .= '</td><td> </td></TR>';
+				$html_my_projects .= '</td><td> </td></tr>';
 			}
 		}
 		
 		if (isset($private_shown) && $private_shown) {
 			$html_my_projects .= '
                 <tr class="'.$class .'"><td colspan="2" class="small">'.
-                '(*) <em>' . _("Private project").'</em></td></tr>';
+                '(*) <em>' . _("Private project").'</em></td></tr>';
 		}
 		$html_my_projects .= '</table>';
 	}

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MySurveys.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MySurveys.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MySurveys.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -52,7 +52,7 @@
 		
 		$html_my_surveys = '';
 		if (count ($projects) < 1) {
-			$html_my_surveys .= _("<P>There are no surveys in your groups.<P><BR> ");
+			$html_my_surveys .= _("<p>There are no surveys in your groups.<p><br /> ");
 		} else {
 			$request =& HTTPRequest::instance();
 			$html_my_surveys .= '<table style="width:100%">';
@@ -81,8 +81,8 @@
 				list($hide_now,$count_diff,$hide_url) = my_hide_url('survey',$group_id,$hide_item_id,count($surveys),$hide_survey);
 
 				$html_hdr = ($j ? '<tr class="boxitem"><td colspan="2">' : '').
-					$hide_url.'<A HREF="/survey/?group_id='.$group_id.'">'.
-					$project->getPublicName().'</A>    ';
+					$hide_url.'<a href="/survey/?group_id='.$group_id.'">'.
+					$project->getPublicName().'</a>    ';
 
 				$html = '';
 				$count_new = max(0, $count_diff);
@@ -102,9 +102,9 @@
 						$devsurvey_is_active = $survey->isActive();
 						if($devsurvey_is_active == 1 ) {
 							$html .= '
-								<TR class="'. $class .'"><TD WIDTH="99%">'.
-								'   - <A HREF="/survey/survey.php?group_id='.$group_id.'&survey_id='.$group_survey_id.'">'.
-								$survey_title.'</A></TD></TR>';
+								<tr class="'. $class .'"><td width="99%">'.
+								'   - <a href="/survey/survey.php?group_id='.$group_id.'&survey_id='.$group_survey_id.'">'.
+								$survey_title.'</a></td></tr>';
 						}
 					}
 				}

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyTasks.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyTasks.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_MyTasks.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -89,10 +89,10 @@
                 list($hide_now,$count_diff,$hide_url) = my_hide_url('pm',$group_project_id,$hide_item_id,$rows2,$hide_pm);
         
                 $html_hdr = ($j ? '<tr class="boxitem"><td colspan="3">' : '').
-                    $hide_url.'<A HREF="/pm/task.php?group_id='.$group_id.
-                    '&group_project_id='.$group_project_id.'">'.
+                    $hide_url.'<a href="/pm/task.php?group_id='.$group_id.
+                    '&group_project_id='.$group_project_id.'">'.
                     db_result($result,$j,'group_name').' - '.
-                    db_result($result,$j,'project_name').'</A>    ';
+                    db_result($result,$j,'project_name').'</a>    ';
                 $html = '';
                 $count_new = max(0, $count_diff);
                 for ($i=0; $i<$rows2; $i++) {
@@ -100,12 +100,12 @@
                     if (!$hide_now) {
         
                     $html .= '
-                    <TR class=priority"'.db_result($result2,$i,'priority').
-                        '"><TD class="small"><A HREF="/pm/task.php/?func=detailtask&project_task_id='.
-                        db_result($result2, $i, 'project_task_id').'&group_id='.
-                        $group_id.'&group_project_id='.$group_project_id.
-                        '">'.stripslashes(db_result($result2,$i,'summary')).'</A></TD>'.
-                        '<TD class="small">'.(db_result($result2,$i,'percent_complete')).'%</TD></TR>';
+                    <tr class=priority"'.db_result($result2,$i,'priority').
+                        '"><td class="small"><a href="/pm/task.php/?func=detailtask&project_task_id='.
+                        db_result($result2, $i, 'project_task_id').'&group_id='.
+                        $group_id.'&group_project_id='.$group_project_id.
+                        '">'.stripslashes(db_result($result2,$i,'summary')).'</a></td>'.
+                        '<td class="small">'.(db_result($result2,$i,'percent_complete')).'%</td></tr>';
         
                     }
                 }

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectInfo.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectInfo.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectInfo.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -40,7 +40,7 @@
 			$list_tag = list_project_tag($group_id);
 			echo '<p>'.html_image('ic/tag.png'). ' ';
 			if ($list_tag) {
-				print _('Tags').': '. $list_tag;
+				print _('Tags').': '. $list_tag;
 			}
 			else {
 				$project = group_get_object($group_id);
@@ -61,7 +61,7 @@
 
 		// registration date
 		$project_start_date = $project->getStartDate();
-		print(_('Registered: ') . 
+		print(_('Registered: ') . 
 				'<span property="doap:created" content="'.date('Y-m-d', $project_start_date).'">'.
 				date(_('Y-m-d H:i'), $project_start_date).
 				"</span>\n");
@@ -84,7 +84,7 @@
 			if ( ($project->usesTracker() && forge_get_config('use_tracker')) || ($project->usesPm() && forge_get_config('use_pm')) ) {
 				print sprintf(_(' or <a href="%1$s">Activity</a>'),util_make_url ('/project/report/?group_id='.$group_id))."\n";
 			}
-			print '<br />'.sprintf(_('View list of <a href="%1$s">RSS feeds</a> available for this project.'), util_make_url ('/export/rss_project.php?group_id='.$group_id)). ' ' . html_image('ic/rss.png',16,16,array())."\n";
+			print '<br />'.sprintf(_('View list of <a href="%1$s">RSS feeds</a> available for this project.'), util_make_url ('/export/rss_project.php?group_id='.$group_id)). ' ' . html_image('ic/rss.png',16,16,array())."\n";
 		}
 
 		if(forge_get_config('use_people')) {

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectPublicAreas.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectPublicAreas.class.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/Widget_ProjectPublicAreas.class.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -39,14 +39,14 @@
 		// ################# Homepage Link
 
 		echo '<div class="public-area-box" rel="doap:homepage">';
-		echo util_make_link ('http://' . $project->getHomePage(), $HTML->getHomePic(_('Home Page')) . ' ' . _('Project Home Page'), false, true);
+		echo util_make_link ('http://' . $project->getHomePage(), $HTML->getHomePic(_('Home Page')) . ' ' . _('Project Home Page'), false, true);
 		echo "</div>\n";
 
 		// ################## ArtifactTypes
 
 		if ($project->usesTracker()) {
 			echo '<div class="public-area-box">'."\n";
-			$link_content = $HTML->getFollowPic(_('Tracker')) . ' ' . _('Tracker');
+			$link_content = $HTML->getFollowPic(_('Tracker')) . ' ' . _('Tracker');
 			echo util_make_link ( '/tracker/?group_id=' . $group_id, $link_content);
 
 			$result=db_query_params ('SELECT agl.*,aca.count,aca.open_count
@@ -87,7 +87,7 @@
 		if ($project->usesForum()) {
 			echo '<div class="public-area-box">'."\n";
 			//	print '<hr size="1" /><a rel="sioc:container_of" xmlns:sioc="http://rdfs.org/sioc/ns#" href="'.util_make_url ('/forum/?group_id='.$group_id).'">';
-			$link_content = $HTML->getForumPic('') . ' ' . _('Public Forums');
+			$link_content = $HTML->getForumPic('') . ' ' . _('Public Forums');
 			echo util_make_link ( '/forum/?group_id=' . $group_id, $link_content);
 			print ' (';
 					$messages_count = project_get_public_forum_message_count($group_id);
@@ -103,7 +103,7 @@
 
 					if ($project->usesDocman()) {
 					echo '<div class="public-area-box">'."\n";
-					$link_content = $HTML->getDocmanPic('') . ' ' . _('DocManager: Project Documentation');
+					$link_content = $HTML->getDocmanPic('') . ' ' . _('DocManager: Project Documentation');
 					//	<a rel="sioc:container_of" xmlns:sioc="http://rdfs.org/sioc/ns#" href="'.util_make_url ('/docman/?group_id='.$group_id).'">';
 					print util_make_link( '/docman/?group_id='.$group_id, $link_content);
 					echo "\n</div>\n";
@@ -113,7 +113,7 @@
 
 					if ($project->usesMail()) {
 						echo '<div class="public-area-box">'."\n";
-						$link_content = $HTML->getMailPic('') . ' ' . _('Mailing Lists');
+						$link_content = $HTML->getMailPic('') . ' ' . _('Mailing Lists');
 						print util_make_link( '/mail/?group_id='.$group_id, $link_content);
 						$n = project_get_mail_list_count($group_id);
 						echo ' ';
@@ -125,7 +125,7 @@
 
 					if ($project->usesPm()) {
 						echo '<div class="public-area-box">'."\n";
-						$link_content = $HTML->getPmPic('') . ' ' . _('Tasks');
+						$link_content = $HTML->getPmPic('') . ' ' . _('Tasks');
 						print util_make_link( '/pm/?group_id='.$group_id, $link_content);
 
 						$result = db_query_params ('SELECT * FROM project_group_list WHERE group_id=$1 AND is_public=1',
@@ -149,7 +149,7 @@
 
 					if ($project->usesSurvey()) {
 						echo '<div class="public-area-box">'."\n";
-						$link_content = $HTML->getSurveyPic('') . ' ' . _('Surveys');
+						$link_content = $HTML->getSurveyPic('') . ' ' . _('Surveys');
 						echo util_make_link( '/survey/?group_id='.$group_id, $link_content);
 						echo ' (<strong>'. project_get_survey_count($group_id) .'</strong> ' . _('surveys').')';
 								echo "\n</div>\n";
@@ -160,7 +160,7 @@
 								if ($project->usesSCM()) {
 								echo '<div class="public-area-box">'."\n";
 
-								$link_content = $HTML->getScmPic('') . ' ' . _('SCM Repository');
+								$link_content = $HTML->getScmPic('') . ' ' . _('SCM Repository');
 								//	print '<hr size="1" /><a rel="doap:repository" href="'.util_make_url ('/scm/?group_id='.$group_id).'">';
 								print util_make_link( '/scm/?group_id='.$group_id, $link_content);
 
@@ -183,7 +183,7 @@
 									if ($project->isActive()) {
 										echo '<div class="public-area-box">'."\n";
 
-										$link_content = $HTML->getFtpPic('') . ' ' . _('Anonymous FTP Space');
+										$link_content = $HTML->getFtpPic('') . ' ' . _('Anonymous FTP Space');
 										//		print '<a rel="doap:anonymous root" href="ftp://' . $project->getUnixName() . '.' . forge_get_config('web_host') . '/pub/'. $project->getUnixName() .'/">';
 										print util_make_link('ftp://' . $project->getUnixName() . '.' . forge_get_config('web_host') . '/pub/'. $project->getUnixName(), $link_content, false, true);
 										echo "\n</div>\n";

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/docman/index.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/docman/index.php	2011-05-16 13:09:42 UTC (rev 17262)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/docman/index.php	2011-05-16 13:09:46 UTC (rev 17263)
@@ -107,6 +107,7 @@
 html_use_tooltips();
 use_javascript('scripts/DocManController.js');
 use_javascript('/js/sortable.js');
+use_stylesheet('/jscook/ThemeXP/theme.css');
 
 $title = _('Document Manager: Display Document');
 



More information about the evolvis-commits mailing list