[Fusionforge-commits] r14359 - trunk/src/common/docman/views

Franck VILLAUME nerville at fusionforge.org
Tue Sep 13 17:17:39 CEST 2011


Author: nerville
Date: 2011-09-13 17:17:39 +0200 (Tue, 13 Sep 2011)
New Revision: 14359

Modified:
   trunk/src/common/docman/views/editdocgroup.php
Log:
change label to reflect action

Modified: trunk/src/common/docman/views/editdocgroup.php
===================================================================
--- trunk/src/common/docman/views/editdocgroup.php	2011-09-13 12:35:31 UTC (rev 14358)
+++ trunk/src/common/docman/views/editdocgroup.php	2011-09-13 15:17:39 UTC (rev 14359)
@@ -64,12 +64,14 @@
 if ($dg->getState() == 2) {
 	$newdgf = new DocumentGroupFactory($g);
 	$dgh->showSelectNestedGroups($newdgf->getNested(), 'parent_dirid', false, false);
+	$labelSubmit = _('Restore');
 } else {
 	$dgh->showSelectNestedGroups($dgf->getNested(), 'parent_dirid', true, $dg->getParentId(), array($dg->getID()));
+	$labelSubmit = _('Edit');
 }
 ?>
 				</td>
-				<td><input type="submit" value="<?php echo _('Edit') ?>" name="submit" /></td>
+				<td><input type="submit" value="<?php echo $labelSubmit ?>" name="submit" /></td>
 			</tr>
 		</table>
 		<p>




More information about the Fusionforge-commits mailing list