[Fusionforge-commits] FusionForge branch 6.1 updated. v6.1alpha0-25-g89fad10

Franck Villaume nerville at libremir.placard.fr.eu.org
Sat Oct 21 11:45:06 CEST 2017


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, 6.1 has been updated
       via  89fad10cd59a5b239b465da3d1eafcdbc2fbb86c (commit)
      from  8a5ffd43354222fd32a6c66ce274e8b4f24c5c02 (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=89fad10cd59a5b239b465da3d1eafcdbc2fbb86c

commit 89fad10cd59a5b239b465da3d1eafcdbc2fbb86c
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sat Oct 21 11:44:42 2017 +0200

    fix class in docman listTableTop.

diff --git a/src/common/docman/DocumentReview.class.php b/src/common/docman/DocumentReview.class.php
index c6bb32b..1117ccb 100644
--- a/src/common/docman/DocumentReview.class.php
+++ b/src/common/docman/DocumentReview.class.php
@@ -245,7 +245,7 @@ class DocumentReview extends FFError {
 
 	function showCompleteFormHTML() {
 		global $HTML;
-		$return = $HTML->listTableTop();
+		$return = $HTML->listTableTop(array(), array(), 'full');
 		$cells = array();
 		$cells[] = array(_('Close the review')._(':'), 'style' => 'width: 30%;');
 		$cells[][] = html_e('input', array('type' => 'checkbox', 'name' => 'review-completedchecked', 'value' => 1));
@@ -292,7 +292,7 @@ class DocumentReview extends FFError {
 			}
 			$date_format_js = _('yy-mm-dd');
 			$return = html_ao('div', array('style' => 'display: none;', 'id' => 'editfile-createreview'));
-			$return .= $HTML->listTableTop();
+			$return .= $HTML->listTableTop(array(), array(), 'full');
 			$cells = array();
 			$cells[] = array(_('Title').utils_requiredField()._(':'), 'style' => 'width: 30%;');
 			$cells[][] = html_e('input', array('type' => 'text', 'id' => 'review-title', 'name' => 'review-title', 'style' => 'width: 100%; box-sizing: border-box;', 'required' => 'required', 'pattern' => '.{5,}', 'placeholder' => _('Title').' '.sprintf(_('(at least %s characters)'), DOCMAN__REVIEW_TITLE_MIN_SIZE), 'maxlength' => DOCMAN__REVIEW_TITLE_MAX_SIZE));
diff --git a/src/common/docman/views/editfile.php b/src/common/docman/views/editfile.php
index b888e26..dd42f8c 100644
--- a/src/common/docman/views/editfile.php
+++ b/src/common/docman/views/editfile.php
@@ -88,7 +88,7 @@ $thClass = array('', '', '', '', '', '', '', '', 'unsortable');
 echo $HTML->listTableTop($thArr, array(), 'sortable full', 'sortable_doc_version_table', $thClass, $thTitle, $thSizeCssArr);
 echo $HTML->listTableBottom();
 echo html_e('button', array('id' => 'doc_version_addbutton', 'type' => 'button', 'onclick' => 'javascript:controllerListFile.toggleAddVersionView()'), _('Add new version'));
-echo $HTML->listTableTop(array(), array(), 'listing full hide', 'doc_version_edit');
+echo $HTML->listTableTop(array(), array(), 'full hide', 'doc_version_edit');
 $cells = array();
 $cells[] = array(_('Document Title').utils_requiredField()._(':'), 'class' => 'docman_editfile_title', 'style' => 'width: 40%');
 $cells[][] = html_e('input', array('pattern' => '.{5,}', 'required' => 'required', 'title' => sprintf(_('(at least %s characters)'), 5), 'id' => 'title', 'type' => 'text', 'name' => 'title', 'maxlength' => '255', 'style' => 'box-sizing: border-box; width: 100%'));

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

Summary of changes:
 src/common/docman/DocumentReview.class.php | 4 ++--
 src/common/docman/views/editfile.php       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list