Commit 5f152f30f6e46c216b494462061ab09492d4c060

Authored by bshuttle
1 parent 0407aae9

- KTS-418 style additions to bulk upload and import.

- make bulk import call itself "Import from Server Location".


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5065 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/folder/bulkImport.smarty
@@ -55,7 +55,7 @@ addLoadEvent(startupMetadata); @@ -55,7 +55,7 @@ addLoadEvent(startupMetadata);
55 {$context->oPage->requireJSStandalone($sJavascript)} 55 {$context->oPage->requireJSStandalone($sJavascript)}
56 56
57 <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data"> 57 <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data">
58 -<fieldset><legend>{i18n}Bulk import{/i18n}</legend> 58 +<fieldset><legend>{i18n}Import from Server Location{/i18n}</legend>
59 <p class="descriptiveText">{i18n}The bulk import facility allows for a number 59 <p class="descriptiveText">{i18n}The bulk import facility allows for a number
60 of documents to be added to the document management system easily. 60 of documents to be added to the document management system easily.
61 Provide a path on the <strong>server</strong>, and all documents and 61 Provide a path on the <strong>server</strong>, and all documents and
@@ -69,6 +69,15 @@ system.{/i18n}&lt;/p&gt; @@ -69,6 +69,15 @@ system.{/i18n}&lt;/p&gt;
69 {$oWidget->render()} 69 {$oWidget->render()}
70 {/foreach} 70 {/foreach}
71 71
  72 +
  73 +<p class="descriptiveText">{i18n}If you do not need to modify any the metadata
  74 +for this document (see below), then you can simply click "Add" here to finish the
  75 +process and add the document.{/i18n}</p>
  76 +<input type="submit" name="submit" value="{i18n}Add{/i18n}" />
  77 +
  78 +<hr />
  79 +
  80 +
72 <div id="generic_metadata_fields"> 81 <div id="generic_metadata_fields">
73 {foreach item=oFieldset from=$generic_fieldsets} 82 {foreach item=oFieldset from=$generic_fieldsets}
74 {$oFieldset->renderEdit($document_data)} 83 {$oFieldset->renderEdit($document_data)}
templates/ktcore/folder/bulkUpload.smarty
@@ -69,6 +69,15 @@ management system.{/i18n}&lt;/p&gt; @@ -69,6 +69,15 @@ management system.{/i18n}&lt;/p&gt;
69 {$oWidget->render()} 69 {$oWidget->render()}
70 {/foreach} 70 {/foreach}
71 71
  72 +
  73 +<p class="descriptiveText">{i18n}If you do not need to modify any the metadata
  74 +for this document (see below), then you can simply click "Add" here to finish the
  75 +process and add the document.{/i18n}</p>
  76 +<input type="submit" name="submit" value="{i18n}Add{/i18n}" />
  77 +
  78 +<hr />
  79 +
  80 +
72 <div id="generic_metadata_fields"> 81 <div id="generic_metadata_fields">
73 {foreach item=oFieldset from=$generic_fieldsets} 82 {foreach item=oFieldset from=$generic_fieldsets}
74 {$oFieldset->renderEdit($document_data)} 83 {$oFieldset->renderEdit($document_data)}