projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UX: add status to package actions, redirect back to package tab
[freeside.git]
/
httemplate
/
elements
/
template_image-dialog.html
diff --git
a/httemplate/elements/template_image-dialog.html
b/httemplate/elements/template_image-dialog.html
index
5691d52
..
b471d28
100644
(file)
--- a/
httemplate/elements/template_image-dialog.html
+++ b/
httemplate/elements/template_image-dialog.html
@@
-14,7
+14,7
@@
url - to redirect to after upload, otherwise just refreshes dialog window
</%doc>
<% include('/elements/xmlhttp.html',
</%doc>
<% include('/elements/xmlhttp.html',
- 'url' => $
p
.'misc/xmlhttp-template_image.cgi',
+ 'url' => $
fsurl
.'misc/xmlhttp-template_image.cgi',
'subs' => [ 'get_template_image' ],
) %>
'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',
<% 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)',
'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>",
<% 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',
)
'agent_virt' => 1,
'agent_null_right' => 'Edit global templates',
)