diff options
-rw-r--r-- | forum/auth.py | 2 | ||||
-rw-r--r-- | forum/skins/default/media/js/wmd/wmd.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/forum/auth.py b/forum/auth.py index 1569482f..3533b9ce 100644 --- a/forum/auth.py +++ b/forum/auth.py @@ -19,7 +19,7 @@ answer_type = ContentType.objects.get_for_model(Answer) VOTE_UP = 15 FLAG_OFFENSIVE = 15 POST_IMAGES = 15 -LEAVE_COMMENTS = 50 +LEAVE_COMMENTS = 50 UPLOAD_FILES = 60 VOTE_DOWN = 100 CLOSE_OWN_QUESTIONS = 250 diff --git a/forum/skins/default/media/js/wmd/wmd.js b/forum/skins/default/media/js/wmd/wmd.js index e81a8046..70271d4d 100644 --- a/forum/skins/default/media/js/wmd/wmd.js +++ b/forum/skins/default/media/js/wmd/wmd.js @@ -52,9 +52,9 @@ Attacklab.wmdBase = function(){ var imageDialogText = "<p style='margin-top: 0px'>" + $.i18n._('enter image url') + '</p>'; var linkDialogText = "<p style='margin-top: 0px'>" + $.i18n._('enter url') + '</p>'; var uploadImageHTML ="<div>" + $.i18n._('upload image') + "</div>" + - '<input type="file" name="file-upload" id="file-upload" size="26" '+ - 'onchange="return ajaxFileUpload($("#image-url"));"/><br>' + - '<img id="loading" src="/m/default/media/images/indicator.gif" style="display:none;"/>'; + "<input type=\"file\" name=\"file-upload\" id=\"file-upload\" size=\"26\" "+ + "onchange=\"return ajaxFileUpload($('#image-url'));\"/><br>" + + "<img id=\"loading\" src=\"" + mediaUrl("media/images/indicator.gif") + "\" style=\"display:none;\"/>"; // The default text that appears in the dialog input box when entering // links. |