4.x style
[freeside.git] / httemplate / elements / template_image-dialog.html
index 5691d52..b471d28 100644 (file)
@@ -14,7 +14,7 @@ url - to redirect to after upload, otherwise just refreshes dialog window
 </%doc>
 
 <% include('/elements/xmlhttp.html',
-        'url'  => $p.'misc/xmlhttp-template_image.cgi',
+        'url'  => $fsurl.'misc/xmlhttp-template_image.cgi',
         'subs' => [ 'get_template_image' ],
    ) %>
 
@@ -75,7 +75,7 @@ url - to redirect to after upload, otherwise just refreshes dialog window
 <% include('/elements/form-file_upload.html',
      'name'      => 'TemplateImageUploadForm',
      'id'        => 'TemplateImageUploadForm',
-     'action'    => $p.'misc/process/template_image-upload.cgi',
+     'action'    => $fsurl.'misc/process/template_image-upload.cgi',
      'num_files' => 1,
      'fields'    => [ 'name', 'agentnum' ],
      'url'       => $opt{'url'} || 'javascript:refreshImageList(1)',
@@ -94,7 +94,7 @@ url - to redirect to after upload, otherwise just refreshes dialog window
 
   <% include( '/elements/tr-select-agent.html',
                  'label'       => "<B>Agent</B>",
-                 'empty_label' => 'Select agent',
+                 'empty_label' => '(global)',
                  'agent_virt'  => 1,
                  'agent_null_right' => 'Edit global templates',
              )