[Fusionforge-commits] FusionForge branch master updated. 372fc83cde5fa384dcc125dfbd6fd3e6ad9caece

Franck VILLAUME nerville at fusionforge.org
Fri Feb 21 09:25:16 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  372fc83cde5fa384dcc125dfbd6fd3e6ad9caece (commit)
      from  e624aa0f8185185c132f75680dd598fdde42de4a (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 372fc83cde5fa384dcc125dfbd6fd3e6ad9caece
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Feb 20 17:09:55 2014 +0100

    docman: use util_make_link et al.

diff --git a/src/common/docman/views/listfile.php b/src/common/docman/views/listfile.php
index 595ecf6..05b752d 100644
--- a/src/common/docman/views/listfile.php
+++ b/src/common/docman/views/listfile.php
@@ -248,9 +248,9 @@ if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
 				$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>'."\n";
+		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>'."\n";
 		echo '<td>';
 		if (($d->getUpdated() && $time_new > (time() - $d->getUpdated())) || $time_new > (time() - $d->getCreated())) {
 			$html_image_attr = array();
@@ -282,7 +282,7 @@ if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
 			if ($reserved_by) {
 				$user = user_get_object($reserved_by);
 				if (is_object($user)) {
-					echo ' '._('by').' '.make_user_link($user->getUnixName(), $user->getRealName());
+					echo ' '._('by').' '.util_make_link_u($user->getUnixName(), $user->getID(), $user->getRealName());
 				}
 			}
 		} else {

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

Summary of changes:
 src/common/docman/views/listfile.php |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list