[Fusionforge-commits] r13737 - in trunk: src/common/docman/views tests/func/Testing

Franck VILLAUME nerville at fusionforge.org
Fri Jul 8 19:15:15 CEST 2011


Author: nerville
Date: 2011-07-08 19:15:15 +0200 (Fri, 08 Jul 2011)
New Revision: 13737

Modified:
   trunk/src/common/docman/views/additem.php
   trunk/tests/func/Testing/SeleniumGforge.php
Log:
directory -> folder

Modified: trunk/src/common/docman/views/additem.php
===================================================================
--- trunk/src/common/docman/views/additem.php	2011-07-08 16:38:26 UTC (rev 13736)
+++ trunk/src/common/docman/views/additem.php	2011-07-08 17:15:15 UTC (rev 13737)
@@ -59,8 +59,8 @@
 echo '<input id="buttonDoc" type="radio" name="type" value="document" />';
 echo '<label id="labelDoc" class="tabtitle-nw" title="'. _('Submit a new document in this folder.').'" >'. _('Submit a new document.') .'</label>';
 if (forge_check_perm('docman', $group_id, 'approve')) {
-	echo '<input id="buttonDir" type="radio" name="type" value="directory" />';
-	echo '<label id="labelDir" class="tabtitle-nw" title="'. _('Create a folder based on this name.').'" >'. _('Add a new directory.') .'</label>';
+	echo '<input id="buttonDir" type="radio" name="type" value="folder" />';
+	echo '<label id="labelDir" class="tabtitle-nw" title="'. _('Create a folder based on this name.').'" >'. _('Add a new folder.') .'</label>';
 	echo '<input id="buttonZip" type="radio" name="type" value="zip" />';
 	echo '<label id="labelZip" class="tabtitle-w" title="'. _('Create a full folders tree using an compressed archive. Only zip format support.').'" >'. _('Inject Tree') . '</label>';
 }

Modified: trunk/tests/func/Testing/SeleniumGforge.php
===================================================================
--- trunk/tests/func/Testing/SeleniumGforge.php	2011-07-08 16:38:26 UTC (rev 13736)
+++ trunk/tests/func/Testing/SeleniumGforge.php	2011-07-08 17:15:15 UTC (rev 13737)
@@ -220,7 +220,7 @@
 			$this->waitForPageToLoad("30000");
 			$this->click("link=Add new item");
 			$this->waitForPageToLoad("30000");
-			$this->click("//input[@name='type' and @value='directory']");
+			$this->click("//input[@name='type' and @value='folder']");
 			$this->type("groupname", "Uncategorized Submissions");
 			$this->click("//input[@id='submitaddsubgroup']");
 			$this->waitForPageToLoad("30000");




More information about the Fusionforge-commits mailing list