This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  1f8c530591e32a9e4ac3fcb08bf467f78e80748a (commit)
      from  6b58e2a060ec782117b32fa99fe89906d4ca3800 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=1f8c530591e32a9e4ac3fcb08bf467f78e80748a

commit 1f8c530591e32a9e4ac3fcb08bf467f78e80748a
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Tue Aug 8 09:03:25 2017 +0000

    html tt tag is not html 5 valid. Use kbd instead which is valid html 4.01 & 
5

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php 
b/src/plugins/scmgit/common/GitPlugin.class.php
index 29fcbf9..ee86915 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -120,7 +120,7 @@ control over it to the project's administrator.");
 
                $htmlRepo = '';
                foreach ($clone_commands as $cmd) {
-                       $htmlRepo .= html_e('tt', array(), $cmd).html_e('br');;
+                       $htmlRepo .= html_e('kbd', array(), $cmd).html_e('br');;
                }
                $b .= html_e('p', array(), $htmlRepo);
 
@@ -144,7 +144,7 @@ control over it to the project's administrator.");
                                $user_id = db_result($result, $i, 'user_id');
                                $user_name = db_result($result, $i, 
'user_name');
                                $real_name = db_result($result, $i, 'realname');
-                               $htmlRepo .= html_e('tt', array(), 'git clone 
'.$protocol.'://'.forge_get_config('scm_host').'/anonscm/git/'.$project->getUnixName().'/users/'.$user_name.'.git')
+                               $htmlRepo .= html_e('kbd', array(), 'git clone 
'.$protocol.'://'.forge_get_config('scm_host').'/anonscm/git/'.$project->getUnixName().'/users/'.$user_name.'.git')
                                        . ' ('.util_make_link_u($user_name, 
$user_id, $real_name).')'
                                        . html_e('br');
                        }
@@ -199,7 +199,7 @@ control over it to the project's administrator.");
                                $b .= html_e('p', array(), _('SSH must be 
installed on your client machine.'));
                                $htmlRepo = '';
                                foreach ($repo_list as $repo_name) {
-                                       $htmlRepo .= html_e('tt', array(), 'git 
clone 
git+ssh://'.$d.'@'.forge_get_config('scm_host').$ssh_port.forge_get_config('repos_path',
 'scmgit').'/'.$project->getUnixName().'/'.$repo_name.'.git').html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 
'git clone 
git+ssh://'.$d.'@'.forge_get_config('scm_host').$ssh_port.forge_get_config('repos_path',
 'scmgit').'/'.$project->getUnixName().'/'.$repo_name.'.git').html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -210,7 +210,7 @@ control over it to the project's administrator.");
                                $htmlRepo = '';
                                $protocol = forge_get_config('use_ssl', 
'scmgit') ? 'https' : 'http';
                                foreach ($repo_list as $repo_name) {
-                                       $htmlRepo .= html_e('tt', array(), 'git 
clone '.$protocol.'://'.$d.'@' . 
forge_get_config('scm_host').'/authscm/'.$d.'/git/'.$project->getUnixName() 
.'/'. $repo_name .'.git').html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 
'git clone '.$protocol.'://'.$d.'@' . 
forge_get_config('scm_host').'/authscm/'.$d.'/git/'.$project->getUnixName() 
.'/'. $repo_name .'.git').html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -226,7 +226,7 @@ control over it to the project's administrator.");
                                        ' '. _('Substitute 
<em>developername</em> with the proper value.'));
                                $htmlRepo = '';
                                foreach ($repo_list as $repo_name) {
-                                       $htmlRepo .= html_e('tt', array(), 'git 
clone git+ssh://'.html_e('i', array(), _('developername'), true, 
false).'@'.forge_get_config('scm_host').$ssh_port.forge_get_config('repos_path',
 'scmgit').'/'.$project->getUnixName().'/'.$repo_name.'.git').html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 
'git clone git+ssh://'.html_e('i', array(), _('developername'), true, 
false).'@'.forge_get_config('scm_host').$ssh_port.forge_get_config('repos_path',
 'scmgit').'/'.$project->getUnixName().'/'.$repo_name.'.git').html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -259,10 +259,10 @@ control over it to the project's administrator.");
                                        $b .= html_e('h3', array(), _('Access 
to your personal repository'));
                                        $b .= html_e('p', array(), _('You have 
a personal repository for this project, accessible through the following 
methods. Enter your site password when prompted.'));
                                        if (forge_get_config('use_ssh', 
'scmgit')) {
-                                               $b .= html_e('tt', array(), 
'git clone 
git+ssh://'.$u->getUnixName().'@'.forge_get_config('scm_host').$ssh_port.forge_get_config('repos_path',
 
'scmgit').'/'.$project->getUnixName().'/users/'.$u->getUnixName().'.git').html_e('br');
+                                               $b .= html_e('kbd', array(), 
'git clone 
git+ssh://'.$u->getUnixName().'@'.forge_get_config('scm_host').$ssh_port.forge_get_config('repos_path',
 
'scmgit').'/'.$project->getUnixName().'/users/'.$u->getUnixName().'.git').html_e('br');
                                        }
                                        if (forge_get_config('use_smarthttp', 
'scmgit')) {
-                                               $b .= html_e('tt', array(), 
'git clone '.$protocol.'://'.$u->getUnixName().'@' . 
forge_get_config('scm_host').'/authscm/'.$u->getUnixName().'/git/'.$project->getUnixName()
 .'/users/'. $u->getUnixName() .'.git').html_e('br');
+                                               $b .= html_e('kbd', array(), 
'git clone '.$protocol.'://'.$u->getUnixName().'@' . 
forge_get_config('scm_host').'/authscm/'.$u->getUnixName().'/git/'.$project->getUnixName()
 .'/users/'. $u->getUnixName() .'.git').html_e('br');
                                        }
                                } else {
                                        $glist = $u->getGroups();
@@ -1180,7 +1180,7 @@ control over it to the project's administrator.");
                        echo $HTML->listTableTop($titleArr);
                        foreach ($existing_repos as $key => $repo) {
                                $cells = array();
-                               $cells[][] = html_e('tt', array(), 
$repo['repo_name']);
+                               $cells[][] = html_e('kbd', array(), 
$repo['repo_name']);
                                $cells[][] = $repo['description'];
                                $cells[][] = $repo['clone_url'];
                                $deleteForm = $HTML->openForm(array('name' => 
'form_delete_repo_'.$repo['repo_name'], 'action' => 
getStringFromServer('PHP_SELF'), 'method' => 'post'));
diff --git a/src/plugins/scmhg/common/HgPlugin.class.php 
b/src/plugins/scmhg/common/HgPlugin.class.php
index d27e24a..8a4b064 100644
--- a/src/plugins/scmhg/common/HgPlugin.class.php
+++ b/src/plugins/scmhg/common/HgPlugin.class.php
@@ -76,7 +76,7 @@ Offer DAV or SSH access.");
                if (forge_get_config('use_dav', 'scmhg')) {
                        $protocol = forge_get_config('use_ssl', 'scmhg')? 
'https' : 'http';
                        $b .= html_e('p', array(), _("This project's Mercurial 
repository can be checked out through anonymous access with the following 
command")._(':'));
-                       $b .= html_e('p', array(), html_e('tt', array(), 'hg 
clone 
'.$protocol.'://'.forge_get_config('scm_host').'/anonscm/'.'hg'.'/'.$project->getUnixName()));
+                       $b .= html_e('p', array(), html_e('kbd', array(), 'hg 
clone 
'.$protocol.'://'.forge_get_config('scm_host').'/anonscm/'.'hg'.'/'.$project->getUnixName()));
                } else {
                        $b .= $HTML->warning_msg(_('Please contact forge 
administrator, scmhg plugin is not correctly configured'));
                }
@@ -124,7 +124,7 @@ Offer DAV or SSH access.");
                                foreach ($repo_list as $repo_name) {
                                        // Warning : the ssh uri MUST be this 
form : ssh://username@scmbox//path/reponame
                                        //           HAVE YOU SEEN THE // 
starting the path ? Keep in mind the double /
-                                       $htmlRepo .= html_e('tt', array(), 'hg 
clone 
ssh://'.$d.'@'.forge_get_config('scm_host').'/'.forge_get_config('repos_path', 
'scmhg').'/'.$project->getUnixName()).html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 'hg 
clone 
ssh://'.$d.'@'.forge_get_config('scm_host').'/'.forge_get_config('repos_path', 
'scmhg').'/'.$project->getUnixName()).html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -135,7 +135,7 @@ Offer DAV or SSH access.");
                                $htmlRepo = '';
                                $protocol = forge_get_config('use_ssl', 
'scmhg') ? 'https' : 'http';
                                foreach ($repo_list as $repo_name) {
-                                       $htmlRepo .= html_e('tt', array(), 'hg 
clone 
'.$protocol.'://<i>'.$d.'</i>@'.forge_get_config('scm_host').'/authscm/'.$d.'/hg/'.
 $project->getUnixName()).html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 'hg 
clone 
'.$protocol.'://<i>'.$d.'</i>@'.forge_get_config('scm_host').'/authscm/'.$d.'/hg/'.
 $project->getUnixName()).html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -153,7 +153,7 @@ Offer DAV or SSH access.");
                                foreach ($repo_list as $repo_name) {
                                        // Warning : the ssh uri MUST be this 
form : ssh://username@scmbox//path/reponame
                                        //           HAVE YOU SEEN THE // 
starting the path ? Keep in mind the double /
-                                       $htmlRepo .= html_e('tt', array(), 'hg 
clone ssh://'.html_e('i', array(), 
_('developername')).'@'.forge_get_config('scm_host').'/'.forge_get_config('repos_path',
 'scmhg').'/'.$project->getUnixName()).html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 'hg 
clone ssh://'.html_e('i', array(), _('developername'), true, 
false).'@'.forge_get_config('scm_host').'/'.forge_get_config('repos_path', 
'scmhg').'/'.$project->getUnixName()).html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -168,7 +168,7 @@ Offer DAV or SSH access.");
                                        ' '. _('Enter your site password when 
prompted.'));
                                $htmlRepo = '';
                                foreach ($repo_list as $repo_name) {
-                                       $htmlRepo .= html_e('tt', array(), 'hg 
clone '.$protocol.'://'.html_e('i', array(), 
_('developername')).'@'.forge_get_config('scm_host').'/authscm/'.html_e('i', 
array(), _('developername')).'/hg/'.$project->getUnixName()).html_e('br');
+                                       $htmlRepo .= html_e('kbd', array(), 'hg 
clone '.$protocol.'://'.html_e('i', array(), _('developername'), true, 
false).'@'.forge_get_config('scm_host').'/authscm/'.html_e('i', array(), 
_('developername'), true, false).'/hg/'.$project->getUnixName()).html_e('br');
                                }
                                $b .= html_e('p', array(), $htmlRepo);
                                $b .= '</div>';
@@ -812,7 +812,7 @@ Offer DAV or SSH access.");
 //                     echo $HTML->listTableTop($titleArr);
 //                     foreach ($existing_repos as $key => $repo) {
 //                             $cells = array();
-//                             $cells[][] = html_e('tt', array(), 
$repo['repo_name']);
+//                             $cells[][] = html_e('kbd', array(), 
$repo['repo_name']);
 //                             $cells[][] = $repo['description'];
 //                             $cells[][] = $repo['clone_url'];
 //                             $deleteForm = $HTML->openForm(array('name' => 
'form_delete_repo_'.$repo['repo_name'], 'action' => 
getStringFromServer('PHP_SELF'), 'method' => 'post'));

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php | 16 ++++++++--------
 src/plugins/scmhg/common/HgPlugin.class.php   | 12 ++++++------
 2 files changed, 14 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to