[Fusionforge-commits] r12167 - trunk/src/common/docman/include

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sun Feb 6 20:11:17 CET 2011


Author: nerville
Date: 2011-02-06 20:11:16 +0100 (Sun, 06 Feb 2011)
New Revision: 12167

Modified:
   trunk/src/common/docman/include/utils.php
Log:
fix link to view file when in trash or pending state

Modified: trunk/src/common/docman/include/utils.php
===================================================================
--- trunk/src/common/docman/include/utils.php	2011-02-06 19:00:53 UTC (rev 12166)
+++ trunk/src/common/docman/include/utils.php	2011-02-06 19:11:16 UTC (rev 12167)
@@ -290,7 +290,7 @@
 			<?php if ($document->isURL()) {
 					echo '<a href="'.inputSpecialchars($d->getFileName()).'">[View File URL]</a>';
 				} else { ?>
-					<a target="_blank" href="../view.php/<?php echo $group_id.'/'.$document->getID().'/'.urlencode($document->getFileName()) ?>"><?php echo $document->getName(); ?></a>
+					<a target="_blank" href="/docman/view.php/<?php echo $group_id.'/'.$document->getID().'/'.urlencode($document->getFileName()) ?>"><?php echo $document->getName(); ?></a>
 			<?php } ?>
 		</td>
 	</tr>




More information about the Fusionforge-commits mailing list