[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.3, 1.4
From: |
cbayle |
Subject: |
[Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.3, 1.4 |
Date: |
Wed, 21 Jul 2004 17:00:30 -0500 |
Update of /cvsroot/gforge/gforge-plugin-scmcvs/include
In directory db.perdue.net:/tmp/cvs-serv31445/include
Modified Files:
CVSPlugin.class
Log Message:
First part of refactoring work, not yet finished but not working worst than
before, I hope
Index: CVSPlugin.class
===================================================================
RCS file: /cvsroot/gforge/gforge-plugin-scmcvs/include/CVSPlugin.class,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CVSPlugin.class 16 Jul 2004 12:47:31 -0000 1.3
+++ CVSPlugin.class 21 Jul 2004 22:00:27 -0000 1.4
@@ -189,8 +189,24 @@
$add_num=0;
}
echo ' (CVS:
'.$Language->getText('project_home','cvs_commits',array(number_format($commit_num,0),number_format($add_num,0))).")";
+ if ($commit_num || $add_num) {
+ echo '
+ <br /> -
+ <a
href="'.account_group_cvsweb_url($group_id).'">Browse CVS</a>';
+ }
}
+ /**
+ * account_group_cvsweb_url() - Returns URL for group's CVS
interface WWW
+ *
+ * @param string The group name
+ * @return URL to access CVS over HTTP
+ */
+ function account_group_cvsweb_url($group_id) {
+ $project =& group_get_object($group_id);
+ return
'http://'.$GLOBALS['sys_scm_host'].'/cgi-bin/cvsweb.cgi?cvsroot='.$project->getUnixName();
+ }
+
function display_groupmenu_scm($params) {
$group_id = $params['group_id'] ;
$project =& group_get_object($group_id);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.3, 1.4,
cbayle <=
- Prev by Date:
[Gforge-commits] gforge-plugin-scmcvs/etc config.php, 1.1.1.1, NONE config.pl, 1.1.1.1, NONE cvsweb.conf, 1.1.1.1, NONE httpd.conf, 1.1.1.1, NONE
- Next by Date:
[Gforge-commits] gforge/www/include/languages Base.tab, 1.162, 1.163 Basque.tab, 1.2, 1.3 Dutch.tab, 1.14, 1.15 French.tab, 1.98, 1.99 German.tab, 1.11, 1.12 Italian.tab, 1.59, 1.60 Korean.tab, 1.24, 1.25 PortugueseBrazilian.tab, 1.9, 1.10 Spanish.tab, 1.39, 1.40 Swedish.tab, 1.10, 1.11
- Previous by thread:
[Gforge-commits] gforge-plugin-scmcvs/etc config.php, 1.1.1.1, NONE config.pl, 1.1.1.1, NONE cvsweb.conf, 1.1.1.1, NONE httpd.conf, 1.1.1.1, NONE
- Next by thread:
[Gforge-commits] gforge/www/include/languages Base.tab, 1.162, 1.163 Basque.tab, 1.2, 1.3 Dutch.tab, 1.14, 1.15 French.tab, 1.98, 1.99 German.tab, 1.11, 1.12 Italian.tab, 1.59, 1.60 Korean.tab, 1.24, 1.25 PortugueseBrazilian.tab, 1.9, 1.10 Spanish.tab, 1.39, 1.40 Swedish.tab, 1.10, 1.11
- Index(es):