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  e443fcb832d13bbd0a6d12a18bfbbe79a9d724e0 (commit)
      from  e5aef22c5e14774cf3ad5eeee72d49061cdbb4f2 (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=e443fcb832d13bbd0a6d12a18bfbbe79a9d724e0

commit e443fcb832d13bbd0a6d12a18bfbbe79a9d724e0
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Thu Sep 22 10:06:32 2016 +0200

    indent

diff --git a/src/common/docman/views/editfile.php 
b/src/common/docman/views/editfile.php
index 8f0d5bc..86f7358 100644
--- a/src/common/docman/views/editfile.php
+++ b/src/common/docman/views/editfile.php
@@ -109,21 +109,21 @@ if ($g->useCreateOnline()) {
 }
 $cells[][] = $nextcell;
 echo $HTML->multiTableRow(array(), $cells);
-       if (forge_get_config('use_manual_uploads')) {
-               $cells = array();
-               $cells[][] = _('File').utils_requiredField();
-               $incoming = 
forge_get_config('groupdir_prefix')."/".$g->getUnixName()."/incoming";
-               $manual_files_arr = ls($incoming, true);
-               if (count($manual_files_arr)) {
-                       $cells[][] = 
html_build_select_box_from_arrays($manual_files_arr, $manual_files_arr, 
'manual_path', '').
-                                       html_e('br').
-                                       html_e('span', array(), sprintf(_('Pick 
a file already uploaded (by SFTP or SCP) to the <a href="%1$s">project\'s 
incoming directory</a> (%2$s).'),
-                                                                       
'sftp://'.forge_get_config('shell_host').$incoming.'/', $incoming), false);
-               } else {
-                       $cells[][] = html_e('p', array('class' => 'warning'), 
sprintf(_('You need first to upload file in %s'),$incoming), false);
-               }
-               echo $HTML->multiTableRow(array('id' => 'pathroweditfile', 
'class' => 'hide'), $cells);
+if (forge_get_config('use_manual_uploads')) {
+       $cells = array();
+       $cells[][] = _('File').utils_requiredField();
+       $incoming = 
forge_get_config('groupdir_prefix')."/".$g->getUnixName()."/incoming";
+       $manual_files_arr = ls($incoming, true);
+       if (count($manual_files_arr)) {
+               $cells[][] = 
html_build_select_box_from_arrays($manual_files_arr, $manual_files_arr, 
'manual_path', '').
+                               html_e('br').
+                               html_e('span', array(), sprintf(_('Pick a file 
already uploaded (by SFTP or SCP) to the <a href="%1$s">project\'s incoming 
directory</a> (%2$s).'),
+                                                               
'sftp://'.forge_get_config('shell_host').$incoming.'/', $incoming), false);
+       } else {
+               $cells[][] = html_e('p', array('class' => 'warning'), 
sprintf(_('You need first to upload file in %s'),$incoming), false);
        }
+       echo $HTML->multiTableRow(array('id' => 'pathroweditfile', 'class' => 
'hide'), $cells);
+}
 if ($g->useCreateOnline()) {
        $cells = array();
        $cells[] = array(_('Edit the contents to your desire or leave them as 
they are to remain unmodified.').html_e('br').

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

Summary of changes:
 src/common/docman/views/editfile.php | 28 ++++++++++++++--------------
 1 file 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