[Mpuls-commits] r963 - wasko/branches/2.0/waskaweb/templates/documents

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 28 09:32:22 CET 2010


Author: torsten
Date: 2010-01-28 09:32:22 +0100 (Thu, 28 Jan 2010)
New Revision: 963

Modified:
   wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako
Log:
* waskaweb/templates/documents/global_upload.mako: Call h.url_for instead of h.url


Modified: wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako	2010-01-28 08:31:29 UTC (rev 962)
+++ wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako	2010-01-28 08:32:22 UTC (rev 963)
@@ -21,7 +21,7 @@
  <div id="waska_form" class="import_box">
   <p class="import_p">Die Größe eines Dokuments darf nicht 10MB überschreiten. Bereits bestehende Dateien mit gleichem Namen werden überschrieben!</p>
    <div class="import_box_dialog">
-    ${h.form(h.url(controller="document", action='globalUploadAction'), multipart=True)}
+    ${h.form(h.url_for(controller="document", action='globalUploadAction'), multipart=True)}
     <label class="import_label" for="file"><strong class="import_number">1. </strong>${_('doc_form_upload_label_file')}</label>
     ${h.file_field('file')}<br>
     <label class="import_label" for=""><strong class="import_number">2.</strong> Dokument hinzufügen:</label>



More information about the Mpuls-commits mailing list