summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)',