gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/www/include Layout.class, 1.84, 1.85 LayoutSF.cl


From: cbayle
Subject: [Gforge-commits] gforge/www/include Layout.class, 1.84, 1.85 LayoutSF.class, 1.1, 1.2 menuSF.php, 1.2, 1.3 project_home.php, 1.36, 1.37 project_summary.php, 1.16, 1.17
Date: Wed, 21 Jul 2004 18:40:22 -0500

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

Modified Files:
        Layout.class LayoutSF.class menuSF.php project_home.php 
        project_summary.php 
Log Message:
cvs to scm renaming


Index: Layout.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/Layout.class,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- Layout.class        10 Jul 2004 13:21:49 -0000      1.84
+++ Layout.class        21 Jul 2004 23:40:19 -0000      1.85
@@ -614,10 +614,9 @@
                }
 
                // SCM systems
-               if ($project->usesCVS()) {
+               if ($project->usesSCM()) {
                        $TABS_DIRS[]='/scm/?group_id='.$group;
-                       
//$TABS_TITLES[]=$Language->getText('group','short_cvs');
-                       $TABS_TITLES[]=$Language->getText('scm_index','title');
+                       $TABS_TITLES[]=$Language->getText('group','short_scm');
                        (($toptab == 'scm') ? $selected=(count($TABS_TITLES)-1) 
: '' );
                }
 

Index: LayoutSF.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/LayoutSF.class,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- LayoutSF.class      14 Apr 2003 19:40:41 -0000      1.1
+++ LayoutSF.class      21 Jul 2004 23:40:19 -0000      1.2
@@ -158,7 +158,7 @@
                'Docs'     => 'ic/Docs.png',
                'Surveys'  => 'ic/Surveys.png',
                'News'     => 'ic/News.png',
-               'CVS'      => 'ic/CVS.png',
+               'SCM'      => 'ic/CVS.png',
                'Files'    => 'ic/Files.png'
                );
 
@@ -813,7 +813,7 @@
                        case 'pm': print 
$Language->getText('group','short_pm'); break;
                        case 'docman': print 
$Language->getText('group','short_docman'); break;
                        case 'surveys': print 
$Language->getText('group','short_survey'); break;
-                       case 'cvs': print 
$Language->getText('group','short_cvs'); break;
+                       case 'scm': print 
$Language->getText('group','short_scm'); break;
                        case 'downloads': print 
$Language->getText('group','short_files'); break;
                        case 'news': print 
$Language->getText('group','short_news'); break;
                        case 'memberlist': print 
$Language->getText('group','short_memberlist'); break;
@@ -917,10 +917,10 @@
                                $Language->getText('group','short_news'), 
$toptab == 'news');
                }
 
-               // CVS
-               if ($project->usesCVS()) {
-                       $this->tab_entry('/cvs/?group_id='.$group, 
$this->icons['CVS'], 
-                               $Language->getText('group','short_cvs'), 
$toptab == 'cvs');
+               // SCM
+               if ($project->usesSCM()) {
+                       $this->tab_entry('/scm/?group_id='.$group, 
$this->icons['SCM'], 
+                               $Language->getText('group','short_scm'), 
$toptab == 'scm');
                }
 
                // Downloads

Index: menuSF.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/menuSF.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- menuSF.php  26 Apr 2003 14:51:10 -0000      1.2
+++ menuSF.php  21 Jul 2004 23:40:19 -0000      1.3
@@ -146,9 +146,9 @@
                if ($project->usesNews()) {
                        $HTML->menu_entry('/news/?group_id='.$group, 
$Language->getText('group', 'short_news'));
                }
-               // CVS
-               if ($project->usesCVS()) {
-                       $HTML->menu_entry('/scm/?group_id='.$group, 
$Language->getText('group', 'short_cvs'));
+               // SCM
+               if ($project->usesSCM()) {
+                       $HTML->menu_entry('/scm/?group_id='.$group, 
$Language->getText('group', 'short_scm'));
                }
                // Downloads
                $HTML->menu_entry('/project/showfiles.php?group_id='.$group, 
$Language->getText('group', 'short_files'));

Index: project_home.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/project_home.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- project_home.php    21 Jul 2004 20:39:33 -0000      1.36
+++ project_home.php    21 Jul 2004 23:40:19 -0000      1.37
@@ -327,12 +327,12 @@
        echo ' ( <strong>'. project_get_survey_count($group_id) .'</strong> 
'.$Language->getText('project_home','surveys').'  )';
 }
 
-// ######################### CVS
+// ######################### SCM
 
-if ($project->usesCVS()) {
+if ($project->usesSCM()) {
        print '<hr size="1" /><a href="/scm/?group_id='.$group_id.'">';
-       print 
html_image('ic/cvs16b.png','20','20',array('alt'=>$Language->getText('group','short_cvs')));
-       print " ".$Language->getText('group','long_cvs')."</a>";
+       print 
html_image('ic/cvs16b.png','20','20',array('alt'=>$Language->getText('group','short_scm')));
+       print " ".$Language->getText('group','long_scm')."</a>";
 
        $result = db_query("
                SELECT sum(commits) AS commits,sum(adds) AS adds

Index: project_summary.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/project_summary.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- project_summary.php 14 Mar 2004 17:08:18 -0000      1.16
+++ project_summary.php 21 Jul 2004 23:40:19 -0000      1.17
@@ -228,15 +228,15 @@
                }
        }
 
-       // ######################### CVS 
+       // ######################### SCM 
 
-       if ($project->usesCVS()) {
+       if ($project->usesSCM()) {
                $return .= '
 
                        <hr size="1" />';
                $return .= '<a href="/scm/?group_id='.$group_id.'">';
-               $return .= 
html_image("ic/cvs16b.png","20","20",array("border"=>"0","ALT"=>"CVS"));
-               $return .= "&nbsp;CVS&nbsp;Tree</a>";
+               $return .= 
html_image("ic/cvs16b.png","20","20",array("border"=>"0","ALT"=>"SCM"));
+               $return .= "&nbsp;SCM&nbsp;Tree</a>";
 
                if ($mode != 'compact') {
                        $sql = "SELECT SUM(commits) AS commits,SUM(adds) AS 
adds from stats_cvs_group where group_id='$group_id'";





reply via email to

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