[Fusionforge-commits] r12168 - branches/Branch_5_1/src/common/docman/include

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


Author: nerville
Date: 2011-02-06 20:12:00 +0100 (Sun, 06 Feb 2011)
New Revision: 12168

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

Modified: branches/Branch_5_1/src/common/docman/include/utils.php
===================================================================
--- branches/Branch_5_1/src/common/docman/include/utils.php	2011-02-06 19:11:16 UTC (rev 12167)
+++ branches/Branch_5_1/src/common/docman/include/utils.php	2011-02-06 19:12:00 UTC (rev 12168)
@@ -268,7 +268,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