[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/www/include user_home.php, 1.16, 1.17 project_ho
From: |
gsmet |
Subject: |
[Gforge-commits] gforge/www/include user_home.php, 1.16, 1.17 project_home.php, 1.30, 1.31 |
Date: |
Wed, 24 Mar 2004 08:34:13 -0600 |
Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv12684/www/include
Modified Files:
user_home.php project_home.php
Log Message:
implemented correctly $sys_use_people in all GForge
Index: user_home.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/user_home.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- user_home.php 16 Dec 2003 20:05:01 -0000 1.16
+++ user_home.php 24 Mar 2004 14:34:10 -0000 1.17
@@ -25,7 +25,7 @@
<?php echo
$HTML->boxTop($Language->getText('user_home','personal_information')); ?>
<tr>
<td><?php echo $Language->getText('user_home','user_id') ?> </td>
- <td><strong><?php print $user_id; ?></strong> ( <a
href="/people/viewprofile.php?user_id=<?php print $user_id; ?>"><strong><?php
echo $Language->getText('user_home','skills_profile') ?></strong></a> )</td>
+ <td><strong><?php print $user_id; ?></strong> <?php
if($GLOBALS['sys_use_people']) { ?>( <a
href="/people/viewprofile.php?user_id=<?php print $user_id; ?>"><strong><?php
echo $Language->getText('user_home','skills_profile') ?></strong></a> )<?php }
?></td>
</tr>
<tr valign="top">
Index: project_home.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/project_home.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- project_home.php 14 Mar 2004 17:08:18 -0000 1.30
+++ project_home.php 24 Mar 2004 14:34:10 -0000 1.31
@@ -71,22 +71,24 @@
print '<br />'.$Language->getText('group', 'activitystat', $group_id);
}
-$jobs_res = db_query("SELECT name
- FROM people_job,people_job_category
- WHERE
people_job.category_id=people_job_category.category_id
- AND people_job.status_id=1
- AND group_id='$group_id'
- GROUP BY name",2);
-if ($jobs_res) {
- $num=db_numrows($jobs_res);
- if ($num>0) {
- print '<br /><br
/>'.$Language->getText('project_home','help_wanted').' ';
- if ($num==1) {
- print '<a
href="/people/?group_id='.$group_id.'">'.
db_result($jobs_res,0,"name").'(s)</a>';
- } else {
- print
$Language->getText('project_home','help_wanted_multiple', '<a
href="/people/?group_id='.$group_id.'">').' </a>';
- }
- }
+if($GLOBALS['sys_use_people']) {
+ $jobs_res = db_query("SELECT name
+ FROM people_job,people_job_category
+ WHERE
people_job.category_id=people_job_category.category_id
+ AND people_job.status_id=1
+ AND group_id='$group_id'
+ GROUP BY name",2);
+ if ($jobs_res) {
+ $num=db_numrows($jobs_res);
+ if ($num>0) {
+ print '<br /><br
/>'.$Language->getText('project_home','help_wanted').' ';
+ if ($num==1) {
+ print '<a
href="/people/?group_id='.$group_id.'">'.
db_result($jobs_res,0,"name").'(s)</a>';
+ } else {
+ print
$Language->getText('project_home','help_wanted_multiple', '<a
href="/people/?group_id='.$group_id.'">').' </a>';
+ }
+ }
+ }
}
plugin_hook ("project_after_description",false) ;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/www/include user_home.php, 1.16, 1.17 project_home.php, 1.30, 1.31,
gsmet <=