summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-08-29 21:27:39 -0700
committerMark Wells <mark@freeside.biz>2015-08-29 21:27:46 -0700
commit1f343115f761ab39020a6aa76d3698fe4c8f2d61 (patch)
tree7868720187201cc5a045d6f05f42221f9cdadc8b
parent9fd03716b831bd00a725a63edbe19cfe6b88aea0 (diff)
fix improper relative paths, incidental to #21564
-rw-r--r--httemplate/elements/htmlarea.html4
-rw-r--r--httemplate/elements/template_image-dialog.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/elements/htmlarea.html b/httemplate/elements/htmlarea.html
index 7c40e61c7..d8b25121a 100644
--- a/httemplate/elements/htmlarea.html
+++ b/httemplate/elements/htmlarea.html
@@ -12,7 +12,7 @@ Example:
</%doc>
% #init
-<SCRIPT TYPE="text/javascript" src="<% $p %>elements/ckeditor/ckeditor.js">
+<SCRIPT TYPE="text/javascript" src="<% $fsurl %>elements/ckeditor/ckeditor.js">
</SCRIPT>
% #editor
@@ -35,7 +35,7 @@ my $config = {
'skin' => 'kama',
'toolbarCanCollapse' => JSON::true,
'removePlugins' => 'elementspath',
- 'basePath' => $p.'elements/ckeditor/',
+ 'basePath' => $fsurl.'elements/ckeditor/',
'enterMode' => 2,
%{ $opt{config} || {} },
};
diff --git a/httemplate/elements/template_image-dialog.html b/httemplate/elements/template_image-dialog.html
index f7fb0c291..b471d28da 100644
--- 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',
- '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)',