[Fusionforge-commits] FusionForge branch master updated. bab4dd227d2f1409308b69825557c6cc8c7249cc

Franck VILLAUME nerville at fusionforge.org
Thu Feb 20 12:11:40 CET 2014


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  bab4dd227d2f1409308b69825557c6cc8c7249cc (commit)
      from  06f8535c69ecc4f14be037c736d7fb8b381b55c9 (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 -----------------------------------------------------------------
commit bab4dd227d2f1409308b69825557c6cc8c7249cc
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Feb 20 12:11:22 2014 +0100

    no need & since we use html_e now, use util_make_link

diff --git a/src/common/docman/DocumentManager.class.php b/src/common/docman/DocumentManager.class.php
index 47aaaad..48b7e62 100644
--- a/src/common/docman/DocumentManager.class.php
+++ b/src/common/docman/DocumentManager.class.php
@@ -170,9 +170,9 @@ class DocumentManager extends Error {
 					$liclass = 'docman_li_treecontent_selected';
 				}
 				if ($this->Group->getID() != $g->getID()) {
-					$link = '/docman/?group_id='.$g->getID().'&view='.$linkmenu.'&dirid='.$localDg->getID().'&childgroup_id='.$this->Group->getID();
+					$link = '/docman/?group_id='.$g->getID().'&view='.$linkmenu.'&dirid='.$localDg->getID().'&childgroup_id='.$this->Group->getID();
 				} else {
-					$link = '/docman/?group_id='.$this->Group->getID().'&view='.$linkmenu.'&dirid='.$localDg->getID();
+					$link = '/docman/?group_id='.$this->Group->getID().'&view='.$linkmenu.'&dirid='.$localDg->getID();
 				}
 				$nbDocsLabel = '';
 				$nbDocs = $localDg->getNumberOfDocuments($stateId);
diff --git a/src/common/docman/views/pendingfiles.php b/src/common/docman/views/pendingfiles.php
index 8a6e624..43f9cb2 100644
--- a/src/common/docman/views/pendingfiles.php
+++ b/src/common/docman/views/pendingfiles.php
@@ -80,9 +80,9 @@ jQuery(document).ready(function() {
 					$docurltitle = _('View this document');
 				}
 			}
-			echo '<td><a href="'.$docurl.'" class="tabtitle-nw" title="'.$docurltitle.'" >';
-			echo html_image($d->getFileTypeImage(), '22', '22', array('alt'=>$d->getFileType()));;
-			echo '</a></td>';
+			echo '<td>';
+			echo util_make_link($docurl, html_image($d->getFileTypeImage(), '22', '22', array('alt'=>$d->getFileType())), array('class' => 'tabtitle-nw', 'title' => $docurltitle));
+			echo '</td>';
 			echo '<td>';
 			if (($d->getUpdated() && $time_new > (time() - $d->getUpdated())) || $time_new > (time() - $d->getCreated())) {
 				$html_image_attr = array();

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

Summary of changes:
 src/common/docman/DocumentManager.class.php |    4 ++--
 src/common/docman/views/pendingfiles.php    |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list