diff options
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/msg-header.tpl | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl index 2d1ea7a61..0be288709 100644..100755 --- a/view/tpl/msg-header.tpl +++ b/view/tpl/msg-header.tpl @@ -1,8 +1,7 @@ - -<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> +<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script language="javascript" type="text/javascript"> -var plaintext = '$editselect'; +var plaintext = '{{$editselect}}'; if(plaintext != 'none') { tinyMCE.init({ @@ -25,7 +24,7 @@ if(plaintext != 'none') { force_br_newlines : true, forced_root_block : '', convert_urls: false, - content_css: "$baseurl/view/custom_tinymce.css", + content_css: "{{$baseurl}}/view/custom_tinymce.css", //Character count theme_advanced_path : false, setup : function(ed) { @@ -51,12 +50,12 @@ else $(document).ready(function() { var uploader = new window.AjaxUpload( 'prvmail-upload', - { action: 'wall_upload/$nickname', + { action: 'wall_upload/{{$nickname}}', name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, + onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); }, onComplete: function(file,response) { tinyMCE.execCommand('mceInsertRawHTML',false,response); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); } } ); @@ -64,12 +63,12 @@ else }); function jotGetLink() { - reply = prompt("$linkurl"); + reply = prompt("{{$linkurl}}"); if(reply && reply.length) { - $('#profile-rotator').show(); + $('#profile-rotator').spin('tiny'); $.get('parse_url?url=' + reply, function(data) { tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); }); } } @@ -85,10 +84,10 @@ else event.target.textContent = reply; event.preventDefault(); if(reply && reply.length) { - $('#profile-rotator').show(); + $('#profile-rotator').spin('tiny'); $.get('parse_url?url=' + reply, function(data) { tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); }); } } |