~ubuntu-branches/ubuntu/trusty/fusionforge/trusty

« back to all changes in this revision

Viewing changes to plugins/scmsvn/common/SVNPlugin.class.php

  • Committer: Bazaar Package Importer
  • Author(s): Roland Mas
  • Date: 2011-04-15 14:55:34 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110415145534-mvn1nochufjmw177
Tags: 5.0.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                        $b .= '<tt>svn checkout svn://'.$project->getSCMBox().$this->svn_root.'/'.$project->getUnixName().'/trunk</tt><br />';
85
85
                }
86
86
                if ($this->use_dav) {
87
 
                        $b .= '<tt>svn checkout --username anonsvn http'.(($this->use_ssl) ? 's' : '').'://' . $project->getSCMBox(). $this->svn_root .'/'. $project->getUnixName() .'/trunk</tt><br/><br/>';
88
 
                        $b .= _('The password is \'anonsvn\'').'<br/>';
 
87
                        $url = 'http://' . $project->getSCMBox(). $this->svn_root .'/'. $project->getUnixName() .'/trunk';
 
88
                        $b .= '<tt>svn checkout <a href="'.$url.'">'.$url.'</a> '.$project->getUnixName().'-trunk</tt>';
89
89
                }
90
90
                $b .= '</p>';
91
91
                return $b ;
102
102
                        }
103
103
                        if ($this->use_dav) {
104
104
                                $b .= _('<p><b>Developer Subversion Access via DAV</b></p><p>Only project developers can access the SVN tree via this method. Enter your site password when prompted.</p>');
105
 
                                $b .= '<p><tt>svn checkout --username '.$d.' http'.(($this->use_ssl) ? 's' : '').'://'. $project->getSCMBox() . $this->svn_root .'/'.$project->getUnixName().'/trunk</tt></p>' ;
 
105
                                $url = 'http'.(($this->use_ssl) ? 's' : '').'://'. $project->getSCMBox() . $this->svn_root .'/'.$project->getUnixName().'/trunk' ;
 
106
                                $b .= '<p><tt>svn checkout --username '.$d.' <a href="'.$url.'">'.$url.'</a> '.$project->getUnixName().'-trunk</tt></p>' ;
106
107
                        }
107
108
                } else {
108
109
                        if ($this->use_ssh) {
111
112
                        }
112
113
                        if ($this->use_dav) {
113
114
                                $b .= _('<p><b>Developer Subversion Access via DAV</b></p><p>Only project developers can access the SVN tree via this method. Substitute <i>developername</i> with the proper values. Enter your site password when prompted.</p>');
114
 
                                $b .= '<p><tt>svn checkout --username <i>'._('developername').'</i> http'.(($this->use_ssl) ? 's' : '').'://'. $project->getSCMBox() . $this->svn_root .'/'.$project->getUnixName().'/trunk</tt></p>' ;
 
115
                                $url = 'http'.(($this->use_ssl) ? 's' : '').'://'. $project->getSCMBox() . $this->svn_root .'/'.$project->getUnixName().'/trunk' ;
 
116
                                $b .= '<p><tt>svn checkout --username <i>'._('developername').'</i> <a href="'.$url.'">'.$url.'</a> '.$project->getUnixName().'-trunk</tt></p>' ;
115
117
                        }
116
118
                }
117
119
                return $b ;