[Fusionforge-commits] r14553 - branches/Branch_5_1/src/common/docman/views

Alain Peyrat aljeux at fusionforge.org
Wed Oct 5 18:56:27 CEST 2011


Author: aljeux
Date: 2011-10-05 18:56:27 +0200 (Wed, 05 Oct 2011)
New Revision: 14553

Modified:
   branches/Branch_5_1/src/common/docman/views/addfile.php
Log:
Set File by default when adding a document

Modified: branches/Branch_5_1/src/common/docman/views/addfile.php
===================================================================
--- branches/Branch_5_1/src/common/docman/views/addfile.php	2011-10-05 16:56:24 UTC (rev 14552)
+++ branches/Branch_5_1/src/common/docman/views/addfile.php	2011-10-05 16:56:27 UTC (rev 14553)
@@ -110,7 +110,7 @@
 					<td style="text-align:right;">
 						<strong>'. _('Type of Document') .'</strong>'.utils_requiredField()
 					.'</td><td>
-					<input type="radio" name="type" value="httpupload" onclick="javascript:displayRowFile()" />'. _('File') .'<input type="radio" name="type" value="pasteurl" onclick="javascript:displayRowUrl()" />'. _('URL');
+					<input type="radio" name="type" value="httpupload" onclick="javascript:displayRowFile()" checked="checked" />'. _('File') .'<input type="radio" name="type" value="pasteurl" onclick="javascript:displayRowUrl()" />'. _('URL');
 			if (forge_get_config('use_manual_uploads')) {
 				echo '<input type="radio" name="type" value="manualupload" onclick="javascript:displayRowManual()" />'. _('Already-uploaded file');
 			}
@@ -119,7 +119,7 @@
 			}
 			echo '		</td>
 				</tr>
-				<tr id="filerow" style="display:none">
+				<tr id="filerow">
 					<td style="text-align:right;">
 						<strong>'. _('Upload File') .'</strong>'. utils_requiredField()
 					.'</td><td>'




More information about the Fusionforge-commits mailing list